mark
Bu işleme şunda yer alıyor:
ebeveyn
4e7e52f7b9
işleme
ee7431504b
@ -36,6 +36,7 @@
|
|||||||
<resultMap extends="BaseResultMap" id="mtAloneProcessMaterialsBomVO" type="com.deer.wms.produce.manage.model.MaterialsInfoVO">
|
<resultMap extends="BaseResultMap" id="mtAloneProcessMaterialsBomVO" type="com.deer.wms.produce.manage.model.MaterialsInfoVO">
|
||||||
<result column="process_bom_id" jdbcType="INTEGER" property="processBomId" />
|
<result column="process_bom_id" jdbcType="INTEGER" property="processBomId" />
|
||||||
<result column="dosage" jdbcType="REAL" property="dosage" />
|
<result column="dosage" jdbcType="REAL" property="dosage" />
|
||||||
|
<result column="unit_name" jdbcType="VARCHAR" property="unitName" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
|
|
||||||
@ -138,6 +139,7 @@
|
|||||||
|
|
||||||
<select id="findMaterialsByKeyWords" parameterType="com.deer.wms.produce.manage.model.MaterialsInfoParams" resultMap="mtAloneProcessMaterialsBomVO">
|
<select id="findMaterialsByKeyWords" parameterType="com.deer.wms.produce.manage.model.MaterialsInfoParams" resultMap="mtAloneProcessMaterialsBomVO">
|
||||||
SELECT * from mt_alone_materials_info materialsInfo
|
SELECT * from mt_alone_materials_info materialsInfo
|
||||||
|
LEFT JOIN unit u ON materialsInfo.unit_id = u.unit_id
|
||||||
<where>
|
<where>
|
||||||
<if test="keywords != null and keywords != ''">
|
<if test="keywords != null and keywords != ''">
|
||||||
AND materialsInfo.materials_name LIKE CONCAT('%', #{keywords}, '%')
|
AND materialsInfo.materials_name LIKE CONCAT('%', #{keywords}, '%')
|
||||||
|
@ -36,6 +36,19 @@ public class MaterialsInfoVO extends MaterialsInfo {
|
|||||||
**/
|
**/
|
||||||
private Integer unitId;
|
private Integer unitId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单位名称
|
||||||
|
**/
|
||||||
|
private String unitName;
|
||||||
|
|
||||||
|
public String getUnitName() {
|
||||||
|
return unitName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUnitName(String unitName) {
|
||||||
|
this.unitName = unitName;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 备注
|
* 备注
|
||||||
**/
|
**/
|
||||||
|
Yükleniyor…
Yeni konuda referans
Bir kullanıcı engelle