wzy
2020-12-26 2cf928a22b6cf8ea7a29f29127ffc333c73b0bca
zq-erp/src/main/resources/mybatis/mapper/hive/SysProjUseDao.xml
@@ -179,6 +179,9 @@
            <if test="deductionNum != null ">
                deductionNum = #{deductionNum},
            </if>
            <if test="failTime != null ">
                fail_time = #{failTime},
            </if>
        </set>
        WHERE ID = #{id}
@@ -719,4 +722,9 @@
        group by b.id) t
    </select>
    <select id="selectHasValidProjUse" resultMap="SysProjUseMap">
        select * from sys_proj_use
        where date_format(now(), '%Y-%m-%d') > date_format(FAIL_TIME, '%Y-%m-%d') and STATUS='有效'
    </select>
</mapper>