wzy
2021-03-29 a4a1350a04f94e7ee553d6091069b3fd5c26a6b2
zq-erp/src/main/resources/mybatis/mapper/hive/SysProjUseDao.xml
@@ -334,7 +334,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 +526,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>