联查name和code
This commit is contained in:
@@ -19,6 +19,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="updateTime" column="update_time"/>
|
||||
<result property="updateBy" column="update_by"/>
|
||||
</resultMap>
|
||||
<select id="selectVoPagePlus" resultType="com.klp.domain.vo.WmsPurchasePlanDetailVo">
|
||||
<!-- 联查材料名称编码 -->
|
||||
SELECT
|
||||
wpd.*,
|
||||
wm.raw_material_name AS rawMaterialName,
|
||||
wm.raw_material_code AS rawMaterialCode
|
||||
FROM
|
||||
wms_purchase_plan_detail wpd
|
||||
LEFT JOIN wms_raw_material wm ON wpd.raw_material_id = wm.material_id
|
||||
${ew.customSqlSegment}
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user