wms白胚原材料查询bug

master
mengjiao 3 months ago
parent c0f35d9c33
commit 70142e8e62

@ -22,8 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<sql id="selectBpProcureOrderVo">
select ID, procure_code, material_code, material_name, supply_name, plan_number, reality_number, unit, price, attr1, attr2, attr3, attr4, attr5 from bp_procure_order ORDER BY
attr1 DESC
select ID, procure_code, material_code, material_name, supply_name, plan_number, reality_number, unit, price, attr1, attr2, attr3, attr4, attr5 from bp_procure_order
</sql>
<select id="selectBpProcureOrderList" parameterType="BpProcureOrder" resultMap="BpProcureOrderResult">
@ -43,11 +42,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="attr4 != null and attr4 != ''"> and attr4 = #{attr4}</if>
<if test="attr5 != null and attr5 != ''"> and attr5 = #{attr5}</if>
</where>
ORDER BY
attr1 DESC
</select>
<select id="selectBpProcureOrderByID" parameterType="String" resultMap="BpProcureOrderResult">
<include refid="selectBpProcureOrderVo"/>
where ID = #{ID}
</select>
<select id="selectBpProcureOrderByProcureCode" parameterType="BpProcureOrder" resultMap="BpProcureOrderResult">

Loading…
Cancel
Save