update 生产订单、生产计划优化查询
parent
943ce88340
commit
4283e3f34c
@ -1,7 +1,21 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!DOCTYPE mapper
|
<!DOCTYPE mapper
|
||||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="org.dromara.mes.mapper.ProdOrderInfoMapper">
|
<mapper namespace="org.dromara.mes.mapper.ProdOrderInfoMapper">
|
||||||
|
|
||||||
|
<select id="selectProdOrderInfoList" parameterType="ProdOrderInfoBo" resultType="ProdOrderInfoVo">
|
||||||
|
select
|
||||||
|
<if test="ew.getSqlSelect != null">
|
||||||
|
${ew.getSqlSelect},
|
||||||
|
bmi.material_name
|
||||||
|
</if>
|
||||||
|
<if test="ew.getSqlSelect == null">
|
||||||
|
*
|
||||||
|
</if>
|
||||||
|
from prod_order_info t
|
||||||
|
left join base_material_info bmi on bmi.material_id = t.material_id
|
||||||
|
${ew.getCustomSqlSegment}
|
||||||
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
Loading…
Reference in New Issue