From 9baa9caf5913861e5a81da7c262d9eb87e42db57 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Fri, 25 Dec 2020 16:59:08 +0800 Subject: [PATCH] modify --- zq-erp/src/main/resources/mybatis/mapper/hive/SysProjUseDao.xml | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 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 3914259..fee7b2f 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/hive/SysProjUseDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/hive/SysProjUseDao.xml @@ -25,6 +25,7 @@ <result property="projName" column="proj_name"/> <result property="deductionNum" column="deductionNum"/> <result property="isCourse" column="is_course"/> + <result property="timeLength" column="time_length"/> @@ -179,6 +180,9 @@ <if test="deductionNum != null "> deductionNum = #{deductionNum}, </if> + <if test="failTime != null "> + fail_time = #{failTime}, + </if> </set> WHERE ID = #{id} @@ -224,7 +228,8 @@ <select id="selectInPage" resultMap="SysProjUseMap"> select a.*, - b.TIME_LENGTH + b.TIME_LENGTH, + b.img from sys_proj_use a left join shopping_goods b on a.proj_id=b.id where 1=1 @@ -419,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 !='' "> -- Gitblit v1.9.1