给单据去掉多余的代码

This commit is contained in:
jishenghua
2025-02-25 23:14:33 +08:00
parent 828fc537e3
commit e318375226
6 changed files with 1 additions and 235 deletions

View File

@@ -130,28 +130,12 @@ public class AccountHeadService {
return list;
}
public Long countAccountHead(String type, String billNo, String beginTime, String endTime,
Long organId, Long creator, Long handsPersonId, Long accountId, String status,
String remark, String number, Long inOutItemId) throws Exception{
Long result=null;
try{
String [] creatorArray = getCreatorArray();
beginTime = Tools.parseDayToTime(beginTime,BusinessConstants.DAY_FIRST_TIME);
endTime = Tools.parseDayToTime(endTime,BusinessConstants.DAY_LAST_TIME);
result = accountHeadMapperEx.countsByAccountHead(type, creatorArray, billNo,
beginTime, endTime, organId, creator, handsPersonId, accountId, status, remark, number, inOutItemId);
} catch(Exception e){
JshException.readFail(logger, e);
}
return result;
}
/**
* 根据角色类型获取操作员数组
* @return
* @throws Exception
*/
private String[] getCreatorArray() throws Exception {
public String[] getCreatorArray() throws Exception {
String creator = "";
User user = userService.getCurrentUser();
String roleType = userService.getRoleTypeByUserId(user.getId()).getType(); //角色类型