From 16da0ad1fda1dffa3019425a6887d38ed4217f44 Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Sun, 10 Jan 2021 14:26:02 +0800 Subject: [PATCH] Merge branch 'api' into order_reform --- zq-erp/src/main/resources/mybatis/mapper/hive/SysProjUseDao.xml | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/zq-erp/src/main/resources/mybatis/mapper/hive/SysProjUseDao.xml b/zq-erp/src/main/resources/mybatis/mapper/hive/SysProjUseDao.xml index 90f8a1c..5c35d98 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/hive/SysProjUseDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/hive/SysProjUseDao.xml @@ -237,6 +237,9 @@ <if test="record.id != null and record.id !='' "> and a.ID = #{record.id} </if> + <if test="record.queryKey != null and record.queryKey !='' "> + and (instr(b.name, #{record.queryKey}) or instr(b.zjm, #{record.queryKey}) or instr(goods_no, #{record.queryKey})) + </if> <if test="record.orderItemId != null and record.orderItemId !='' "> and a.ORDER_ITEM_ID = #{record.orderItemId} </if> @@ -268,7 +271,9 @@ <if test="record.failTime != null "> and a.FAIL_TIME = #{record.failTime} </if> - + <if test="record.targetFailTime != null "> + and date_format(#{record.failTime}, '%Y-%m-%d') > date_format(a.FAIL_TIME, '%Y-%m-%d') + </if> <if test="record.price != null and record.price !='' "> and a.PRICE = #{record.price} </if> -- Gitblit v1.9.1