定时任务 根据时间更新 文本状态

This commit is contained in:
yuezhihang
2022-05-07 16:29:10 +08:00
parent b02e61a6c5
commit e01952afc2
9 changed files with 407 additions and 54 deletions
@@ -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>