md
This commit is contained in:
parent
a5c02922fc
commit
4000ce0489
@ -254,15 +254,17 @@ public class EmisWaybillAjustApplyServiceImpl extends EmisBaseService implements
|
||||
emisWaybillAjustApply.setCenterConfirmManCode(getCurrentUser().getEmpCode());
|
||||
|
||||
// 判断申请人是否是[单证专属]岗位
|
||||
SysUser opUser = getEmisStaffByCode(emisWaybillAjustApply.getApplyManCode());
|
||||
if (opUser != null) {
|
||||
// 判断申请人是否是单证专属
|
||||
List<Long> postIds = postMapper.selectPostListByUserId(opUser.getUserId());
|
||||
if (!CollectionUtils.isEmpty(postIds)) {
|
||||
for (Long poId : postIds) {
|
||||
if (poId == 18) {
|
||||
isDZZS = true;
|
||||
break;
|
||||
if("9".equals(emisWaybillAjustApply.getApplyType())) {
|
||||
SysUser opUser = getEmisStaffByCode(emisWaybillAjustApply.getApplyManCode());
|
||||
if (opUser != null) {
|
||||
// 判断申请人是否是单证专属
|
||||
List<Long> postIds = postMapper.selectPostListByUserId(opUser.getUserId());
|
||||
if (!CollectionUtils.isEmpty(postIds)) {
|
||||
for (Long poId : postIds) {
|
||||
if (poId == 18) {
|
||||
isDZZS = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user