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.

22 lines
697 B
XML

<?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.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>