You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
715 B

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.hnac.hzims.scheduled.mapper.equipment.ThreeGenerateMapper">
<delete id="deletemMonthGenerate">
DELETE FROM HZIMS_EM_THREE_GENERATE
WHERE STR_MONTH = #{month}
<if test="before != null and before != ''">
OR STR_MONTH &lt; #{before}
</if>
</delete>
<delete id="deleteFillGenerate">
DELETE FROM HZIMS_EM_THREE_GENERATE
WHERE DEVICE_CODE IS NULL
<if test="before != null and before != ''">
OR STR_MONTH &lt; #{before}
</if>
</delete>
</mapper>