mark
This commit is contained in:
parent
4e7e52f7b9
commit
ee7431504b
@ -36,6 +36,7 @@
|
||||
<resultMap extends="BaseResultMap" id="mtAloneProcessMaterialsBomVO" type="com.deer.wms.produce.manage.model.MaterialsInfoVO">
|
||||
<result column="process_bom_id" jdbcType="INTEGER" property="processBomId" />
|
||||
<result column="dosage" jdbcType="REAL" property="dosage" />
|
||||
<result column="unit_name" jdbcType="VARCHAR" property="unitName" />
|
||||
</resultMap>
|
||||
|
||||
|
||||
@ -138,6 +139,7 @@
|
||||
|
||||
<select id="findMaterialsByKeyWords" parameterType="com.deer.wms.produce.manage.model.MaterialsInfoParams" resultMap="mtAloneProcessMaterialsBomVO">
|
||||
SELECT * from mt_alone_materials_info materialsInfo
|
||||
LEFT JOIN unit u ON materialsInfo.unit_id = u.unit_id
|
||||
<where>
|
||||
<if test="keywords != null and keywords != ''">
|
||||
AND materialsInfo.materials_name LIKE CONCAT('%', #{keywords}, '%')
|
||||
|
@ -36,6 +36,19 @@ public class MaterialsInfoVO extends MaterialsInfo {
|
||||
**/
|
||||
private Integer unitId;
|
||||
|
||||
/**
|
||||
* 单位名称
|
||||
**/
|
||||
private String unitName;
|
||||
|
||||
public String getUnitName() {
|
||||
return unitName;
|
||||
}
|
||||
|
||||
public void setUnitName(String unitName) {
|
||||
this.unitName = unitName;
|
||||
}
|
||||
|
||||
/**
|
||||
* 备注
|
||||
**/
|
||||
|
Loading…
Reference in New Issue
Block a user