Browse Source

财务报销 功能优化

zhaoxian 2 năm trước cách đây
mục cha
commit
5c32631956

+ 1 - 1
jeecg-boot-module-system/src/main/java/cn/com/ctop/reimburse/mondule/service/impl/ReimburseApplyServiceImpl.java

@@ -169,7 +169,7 @@ public class ReimburseApplyServiceImpl extends ServiceImpl<ReimburseApplyMapper,
             if ("1".equals(entity.getFinalStatus())) {
                 if ("4".equals(status)) {
                     //判断是否是 财务人员
-                    String roleCode = dailyAccountMapper.getRoleCodeByUserId(entity.getLeaderId());
+                    String roleCode = dailyAccountMapper.getRoleCodeByUserId(loginId);
                     if ("financialReview".equals(roleCode)) {
                         apply.setStatus("2");
                     } else {