Helius
2021-07-20 9a341d58bf0cfc4d9c0b9be745671f4e5c490b02
zq-erp/src/main/resources/mybatis/mapper/hive/SysProjUseDao.xml
@@ -856,10 +856,7 @@
    <update id="updateInvalidProjUse"  >
        update   sys_proj_use set STATUS='无效'
        where
            (   date_format(now(), '%Y-%m-%d') > date_format(FAIL_TIME, '%Y-%m-%d')
                or SURPLUS_COUNT=0
                or balance =0 )
        where  date_format(now(), '%Y-%m-%d') > date_format(FAIL_TIME, '%Y-%m-%d')
          and STATUS='有效'
    </update>