Browse Source

消单申请驳回申请修改

张涛 1 year ago
parent
commit
fbc2eefb03

+ 1
- 1
src/main/java/com/example/civilizedcity/service/impl/TaOrgIssueServiceImpl.java View File

146
     public void removeByIssueId(String issueId){
146
     public void removeByIssueId(String issueId){
147
         baseMapper.removeByIssueId(issueId);
147
         baseMapper.removeByIssueId(issueId);
148
         taIssueMapper.removeByIssueId(issueId);
148
         taIssueMapper.removeByIssueId(issueId);
149
-    }
149
+       }
150
 
150
 
151
 }
151
 }

+ 1
- 0
src/main/resources/mapper/TaIssueApplyMapper.xml View File

13
                 INNER JOIN ta_issue s ON t.issue_id = s.issue_id
13
                 INNER JOIN ta_issue s ON t.issue_id = s.issue_id
14
         WHERE
14
         WHERE
15
             t.`status` > -1
15
             t.`status` > -1
16
+            AND s.`status` > -1
16
         <if test="issueId != null">
17
         <if test="issueId != null">
17
             AND t.issue_id = #{issueId}
18
             AND t.issue_id = #{issueId}
18
         </if>
19
         </if>