提交代码

dev_xd
姜玉琦 2025-03-08 16:25:22 +08:00
parent 4635d42aa4
commit f598a52789
2 changed files with 4 additions and 5 deletions

View File

@ -157,27 +157,27 @@
</select> </select>
<select id="selectMyAwaitSspTask" resultType="Map"> <select id="selectMyAwaitSspTask" resultType="Map">
select '106' as category, count(1) as total from smz_ssp_problemmodify select '106' as category, id from smz_ssp_problemmodify
<where> <where>
infoType=0 infoType=0
<if test="proId != null"> and projectId=#{proId}</if> <if test="proId != null"> and projectId=#{proId}</if>
<if test="userId != null"> and lordSent=#{userId} and checkState in (0,3)</if> <if test="userId != null"> and lordSent=#{userId} and checkState in (0,3)</if>
</where> </where>
union all union all
select '107' as category, count(1) as total from smz_ssp_problemmodify select '107' as category, id from smz_ssp_problemmodify
<where> <where>
infoType=0 infoType=0
<if test="proId != null"> and projectId=#{proId}</if> <if test="proId != null"> and projectId=#{proId}</if>
<if test="userId != null"> and lordSent=#{userId} and checkState in (0,3)</if> <if test="userId != null"> and lordSent=#{userId} and checkState in (0,3)</if>
</where> </where>
select '108' as category, count(1) as total from smz_ssp_problemmodify select '108' as category, id from smz_ssp_problemmodify
<where> <where>
infoType=1 infoType=1
<if test="proId != null"> and projectId=#{proId}</if> <if test="proId != null"> and projectId=#{proId}</if>
<if test="userId != null"> and lordSent=#{userId} and checkState in (0,3)</if> <if test="userId != null"> and lordSent=#{userId} and checkState in (0,3)</if>
</where> </where>
union all union all
select '109' as category, count(1) as total from smz_ssp_problemmodify select '109' as category, id from smz_ssp_problemmodify
<where> <where>
infoType=1 infoType=1
<if test="proId != null"> and projectId=#{proId}</if> <if test="proId != null"> and projectId=#{proId}</if>

View File

@ -229,7 +229,6 @@ public class SmzSspProblemmodifyController extends BaseController
} }
/** /**
<<<<<<< HEAD
* *
* @param id * @param id
* @return * @return