[修改] 流程重复发起问题 更改

This commit is contained in:
bupengxiang
2023-05-11 18:07:27 +08:00
parent 6334e68943
commit a469da2dec
15 changed files with 41 additions and 15 deletions
@@ -44,7 +44,7 @@ public interface TtReportManageActDao extends BaseMapper<TtReportManageAct> {
*/
List<TtReportManageAct> queryList(@Param("pageVO") TtReportManageActPageVO ttReportManageActPageVO);
TtReportManageAct selectByDataId(String dataId);
List<TtReportManageAct> selectByDataId(String dataId);
TtReportManageAct selectByPrcId(String prcId);
}
@@ -114,7 +114,7 @@
downloadCount.download AS download,
AVG( trur.user_rating ) AS reportRating,
IF(bpn.id is null,1,
IF(bpn.end_time is null,0,1)
IF(bpn.SUBMIT_STATUS = 1,0,1)
) as isAct
FROM
TT_REPORT_MANAGE eo
@@ -186,7 +186,7 @@
t.confidentialLevel,
t.privacyLevel,
IF(bpn.id is null,1,
IF(bpn.end_time is null,0,1)
IF(bpn.SUBMIT_STATUS = 1,0,1)
) as isAct
FROM `tt_report_manage` AS t
LEFT JOIN bus_process_name as bpn on bpn.data_id = t.id and bpn.prc_type = '5'