JSD-8834 自定义授权&审计
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
854 B

package com.fr.plugin.teshe.services;
import com.fr.plugin.teshe.entity.*;
import com.fr.stable.db.action.DBAction;
import com.fr.stable.db.dao.DAOContext;
public class TieSheFiliRptDBAUtil {
private static TieSheFiliRptDBAUtil instance;
public static TieSheFiliRptDBAUtil getInstance(){
if(instance == null){
instance = new TieSheFiliRptDBAUtil();
}
return instance;
}
public void updateTaskPersonInfo(String userName) throws Exception {
TieSheDBAccessProvider.tieSheDbAccessor.runDMLAction(new DBAction<TieSheFiliRptEntity>() {
@Override
public TieSheFiliRptEntity run(DAOContext daoContext) throws Exception {
daoContext.getDAO(TieSheFiliRptDAO.class).updateTaskPersonInfo(userName);
return null;
}
});
}
}