Helius
2021-06-27 5692b9718e7863b2ca10064bf296bf6a5b87911f
zq-erp/src/main/resources/mybatis/mapper/hive/SysProjUseDao.xml
@@ -165,7 +165,8 @@
      proj_name,
      tcName,
      deductionNum,
      is_course
      is_course,
       create_by
      )
      VALUES (
      #{id},
@@ -187,7 +188,8 @@
      #{projName},
      #{tcName},
      #{deductionNum},
      #{isCourse}
      #{isCourse},
      #{createBy}
      )
   </insert>
@@ -334,7 +336,8 @@
        a.*,
        d.id as orderId,
        b.TIME_LENGTH,
        b.img
        b.img,
        b.code
        from sys_proj_use a
        left join shopping_goods b on a.proj_id=b.id
        left join sys_order_item c on a.ORDER_ITEM_ID=c.id
@@ -525,11 +528,8 @@
    <!-- 根据id查询 -->
    <select id="selectById" resultMap="SysProjUseMap">
      select a.*,
        b.TIME_LENGTH,
        b.img
      select a.*
        from sys_proj_use a
        left join shopping_goods b on a.proj_id=b.id
      where
      a.id=#{id}
   </select>