You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<!DOCTYPE mapper
|
|
|
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
<mapper namespace="org.dromara.mes.mapper.ProdPlanInfoMapper">
|
|
|
|
|
|
|
|
<select id="selectProdPlanInfoList" parameterType="ProdPlanInfoBo" resultType="ProdPlanInfoVo">
|
|
|
|
select
|
|
|
|
<if test="ew.getSqlSelect != null">
|
|
|
|
${ew.getSqlSelect},
|
|
|
|
bmi.material_code,
|
|
|
|
bmi.material_name,
|
|
|
|
pbpi.process_name,
|
|
|
|
bsi.shift_name,
|
|
|
|
bcti.team_name
|
|
|
|
</if>
|
|
|
|
<if test="ew.getSqlSelect == null">
|
|
|
|
*
|
|
|
|
</if>
|
|
|
|
from prod_plan_info t
|
|
|
|
left join base_material_info bmi on bmi.material_id = t.material_id
|
|
|
|
left join prod_base_process_info pbpi on pbpi.process_id = t.process_id
|
|
|
|
left join base_shift_info bsi on bsi.shift_id = t.shift_id
|
|
|
|
left join base_class_team_info bcti on bcti.class_team_id = t.class_team_id
|
|
|
|
${ew.getCustomSqlSegment}
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
</mapper>
|