Browse Source

同步内部损失

DLC 2 weeks ago
parent
commit
a08556c3e6

+ 1 - 1
qcs-common/src/main/java/com/rongwei/bscommon/sys/dao/QcsMdfFormDao.java

@@ -64,6 +64,6 @@ public interface QcsMdfFormDao extends BaseMapper<QcsMdfFormDo> {
     @Select("select REASON,DUTYDEPTID,DUTYDEPTNAME from qcs_type_res where DELETED='0' and LOSSTYPE='修改单' and IFNULL(DUTYDEPTID,'')!='' and IFNULL(DUTYDEPTNAME,'')!=''")
     List<Map<String, String>> getResDuty();
 
-    @Select("select distinct DUTYDEPTID from qcs_mdf_detail where DELETED='0' and FORMID=#{formId}")
+    @Select("select distinct DUTYDEPTID from qcs_mdf_detail where DELETED='0' and FORMID=#{formId} and IFNULL(DUTYDEPTID,'')!=''")
     List<QcsMdfDetailDo> getDutyDeptIds(@Param(value = "formId") String formId);
 }