Browse Source

v1.3

recovery
zy_Java 4 years ago
parent
commit
1029aff5e8
  1. 4
      tall/src/main/resources/application.yml
  2. 2
      tall/src/main/resources/mapper_dao/SysOperationDao.xml
  3. 8
      tall/src/main/resources/mapper_dao/SysProjectDao.xml

4
tall/src/main/resources/application.yml

@ -1,5 +1,5 @@
spring: spring:
profiles: profiles:
active: prod active: dev
include: util-prod,common include: util-dev,common

2
tall/src/main/resources/mapper_dao/SysOperationDao.xml

@ -85,10 +85,12 @@
t_sys_operation o t_sys_operation o
WHERE WHERE
o.rec_status = 0 o.rec_status = 0
<if test="projectIdList != null and projectIdList.size() > 0">
and o.project_id in and o.project_id in
<foreach collection="projectIdList" item="id" separator="," open="(" close=")"> <foreach collection="projectIdList" item="id" separator="," open="(" close=")">
#{id} #{id}
</foreach> </foreach>
</if>
</select> </select>
<select id="findMessageByOperate" resultType="com.ccsens.tall.bean.vo.InputDocVo$DocRecordOfTask"> <select id="findMessageByOperate" resultType="com.ccsens.tall.bean.vo.InputDocVo$DocRecordOfTask">

8
tall/src/main/resources/mapper_dao/SysProjectDao.xml

@ -643,9 +643,11 @@
t_sys_project AS sp t_sys_project AS sp
WHERE WHERE
sp.parent_id = #{projectId} sp.parent_id = #{projectId}
<if test="listBeforeId != null and listBeforeId.size() > 0">
AND sp.id NOT IN AND sp.id NOT IN
<foreach collection="listBeforeId" item="id" separator="," open="(" close=")"> <foreach collection="listBeforeId" item="id" separator="," open="(" close=")">
#{id} #{id}
</foreach> </foreach>
</if>
</select> </select>
</mapper> </mapper>
Loading…
Cancel
Save