fix
Helius
2021-08-13 05fcfa75d9bcd29f44c5a28d1a665a496347dce1
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>