zq-erp/src/main/resources/mybatis/mapper/hive/SysProjUseDao.xml
@@ -424,8 +424,11 @@ <!-- 根据对象查询 --> <select id="selectByModel" resultMap="SysProjUseMap"> select a.* a.*, b.time_length, b.img from sys_proj_use a left join shopping_goods b on a.proj_id=b.id where 1=1 <if test="record!=null"> <if test="record.id != null and record.id !='' "> @@ -724,4 +727,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>