定时任务 根据时间更新 文本状态
This commit is contained in:
+16
@@ -1844,5 +1844,21 @@
|
||||
) = REPLACE ( #{DTBZHCode},' ', '')
|
||||
)
|
||||
</select>
|
||||
<select id="dealWithDS" resultType="com.adc.da.slrs.sarStandardsInfo.entity.DSarStandardDTO">
|
||||
SELECT ss.ID , ss.TEXT_STATUS , ssa.SSRQ from sar_standards_info ss
|
||||
LEFT JOIN sar_stand_attr_info ssa ON ssa.STAND_ID = ss.id
|
||||
<where>
|
||||
1=1 and ss.valid_flag = 0 and ssa.valid_flag = 0
|
||||
<if test="type != null">
|
||||
and ss.STAND_TYPE = #{type}
|
||||
</if>
|
||||
<if test=" null != status and status.size() >0 ">
|
||||
and ss.TEXT_STATUS in
|
||||
<foreach item="texts" collection="status" open="(" separator="," close=")" index="index">
|
||||
#{texts}
|
||||
</foreach>
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user