feature:物料信息invoice_name报错

release
gaorl 2 years ago
parent 1f364b9afe
commit c8c1d33560
  1. 2
      order-management-base-service/src/main/resources/mybatis/mapper/CommodityMapper.xml
  2. 2
      order-management-consumer/src/main/resources/mybatis/mapper/GroupCommodityCodeMapper.xml

@ -931,7 +931,7 @@
#{tswl,jdbcType=VARCHAR}, #{tswl,jdbcType=VARCHAR},
</if> </if>
<if test="invoiceName != null"> <if test="invoiceName != null">
#{invoice_name,jdbcType=VARCHAR}, #{invoiceName,jdbcType=VARCHAR},
</if> </if>
</trim> </trim>
</insert> </insert>

@ -105,6 +105,7 @@
<bind name="dataType" value="${dataType}"/> <bind name="dataType" value="${dataType}"/>
<include refid="baseSelect"/> <include refid="baseSelect"/>
<where> <where>
cc.xhf_nsrsbh = '-1'
<if test="wlflbm != null and wlflbm != ''"> <if test="wlflbm != null and wlflbm != ''">
AND cc.wlflbm LIKE CONCAT('%',#{wlflbm},'%') AND cc.wlflbm LIKE CONCAT('%',#{wlflbm},'%')
</if> </if>
@ -117,7 +118,6 @@
<if test="xmmc != null and xmmc != ''"> <if test="xmmc != null and xmmc != ''">
AND cc.merchandise_name LIKE CONCAT('%',#{xmmc},'%') AND cc.merchandise_name LIKE CONCAT('%',#{xmmc},'%')
</if> </if>
AND cc.xhf_nsrsbh = '-1'
</where> </where>
ORDER BY cc.create_time DESC ORDER BY cc.create_time DESC

Loading…
Cancel
Save