wangxuan 8 meses atrás
pai
commit
c7de9e214e

+ 1 - 1
business-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ZhcxPmqManagementDistributionDetailServiceImpl.java

@@ -63,7 +63,7 @@ public class ZhcxPmqManagementDistributionDetailServiceImpl extends ServiceImpl<
         // 获取项目id
         ZhcxPmqManagementDo managementDo = managementService.getById(recoredDo.getPmqmid());
         if(Objects.isNull(managementDo)){return R.error("主表数据异常");}
-        // 根据pid获取第三层未关闭的数量
+        // 根据pid获取第三层未关闭的数量  ZHCX_PMQ_MANAGEMENT_DISTRIBUTION  ZHCX_PMQ_MANAGEMENT_DISTRIBUTION_DETAIL
         String closeStatus = baseMapper.getNotClosedStateInThirdFloorByPid(id,managementDo.getProjectid());
         // 更新第二层表的状态
         recoredDo.setClosestatus(closeStatus);

+ 1 - 1
business-common/src/main/resources/mybatis/business/ZhcxPmqManagementDistributionDetailDao.xml

@@ -66,7 +66,7 @@ LEFT JOIN (
 				ELSE '未关闭'
 			END AS STATUS
 		FROM
-			INCONTROL.ZHCX_PMQ_MANAGEMENT_DISTRIBUTION_DETAIL x
+			INCONTROL.ZHCX_PMQ_MANAGEMENT_DISTRIBUTION x
 		WHERE x.PID = #{id} AND x.DELETED = '0'
 		) AS t
 	GROUP BY