wms白胚原材料查询bug

master
mengjiao 3 months ago
parent c0f35d9c33
commit 70142e8e62

@ -22,8 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap> </resultMap>
<sql id="selectBpProcureOrderVo"> <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 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
attr1 DESC
</sql> </sql>
<select id="selectBpProcureOrderList" parameterType="BpProcureOrder" resultMap="BpProcureOrderResult"> <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="attr4 != null and attr4 != ''"> and attr4 = #{attr4}</if>
<if test="attr5 != null and attr5 != ''"> and attr5 = #{attr5}</if> <if test="attr5 != null and attr5 != ''"> and attr5 = #{attr5}</if>
</where> </where>
ORDER BY
attr1 DESC
</select> </select>
<select id="selectBpProcureOrderByID" parameterType="String" resultMap="BpProcureOrderResult"> <select id="selectBpProcureOrderByID" parameterType="String" resultMap="BpProcureOrderResult">
<include refid="selectBpProcureOrderVo"/> <include refid="selectBpProcureOrderVo"/>
where ID = #{ID} where ID = #{ID}
</select> </select>
<select id="selectBpProcureOrderByProcureCode" parameterType="BpProcureOrder" resultMap="BpProcureOrderResult"> <select id="selectBpProcureOrderByProcureCode" parameterType="BpProcureOrder" resultMap="BpProcureOrderResult">

Loading…
Cancel
Save