| | |
| | | @Excel(name = "物料编号") |
| | | private String materialCode; |
| | | |
| | | @Excel(name = "车型") |
| | | private String carType; |
| | | /** 物料名称 */ |
| | | @Excel(name = "物料名称") |
| | | private String materialName; |
| | |
| | | public String getMaterialCode() |
| | | { |
| | | return materialCode; |
| | | } |
| | | public void setCarType(String carType) {this.carType = carType;} |
| | | |
| | | public String getCarType() |
| | | { |
| | | return carType; |
| | | } |
| | | public void setMaterialName(String materialName) |
| | | { |
| | |
| | | .append("id", getId()) |
| | | .append("materialCode", getMaterialCode()) |
| | | .append("materialName", getMaterialName()) |
| | | .append("carType", getCarType()) |
| | | .append("materialView", getMaterialView()) |
| | | .append("typeZ", getTypeZ()) |
| | | .append("typeL", getTypeL()) |
| | |
| | | <result property="status" column="status" /> |
| | | <result property="supplier" column="supplier" /> |
| | | <result property="mark" column="mark" /> |
| | | <result property="carType" column="car_type" /> |
| | | |
| | | </resultMap> |
| | | |
| | | <sql id="selectBsMaterialInfoVo"> |
| | | select id, material_code, mark, material_name, material_view, type_z, type_l, unit, matter_version, remarks, create_user, create_time, update_user, update_time, erp_spec, data_source, version, status, supplier from bs_material_info |
| | | select id, material_code, mark, material_name,car_type, material_view, type_z, type_l, unit, matter_version, remarks, create_user, create_time, update_user, update_time, erp_spec, data_source, version, status, supplier from bs_material_info |
| | | </sql> |
| | | |
| | | <select id="selectBsMaterialInfoList" parameterType="BsMaterialInfo" resultMap="BsMaterialInfoResult"> |
| | |
| | | <if test="unit != null and unit != ''"> and unit = #{unit}</if> |
| | | <if test="matterVersion != null and matterVersion != ''"> and matter_version = #{matterVersion}</if> |
| | | <if test="remarks != null and remarks != ''"> and remarks = #{remarks}</if> |
| | | <if test="carType != null and carType != ''"> and car_type = #{carType}</if> |
| | | <if test="createUser != null and createUser != ''"> and create_user = #{createUser}</if> |
| | | <if test="createTime != null "> and create_time = #{createTime}</if> |
| | | <if test="updateUser != null and updateUser != ''"> and update_user = #{updateUser}</if> |
| | |
| | | <if test="id != null">id,</if> |
| | | <if test="materialCode != null">material_code,</if> |
| | | <if test="materialName != null">material_name,</if> |
| | | <if test="carType != null">car_type,</if> |
| | | <if test="mark != null">mark,</if> |
| | | <if test="materialView != null">material_view,</if> |
| | | <if test="typeZ != null">type_z,</if> |
| | |
| | | <if test="id != null">#{id},</if> |
| | | <if test="materialCode != null">#{materialCode},</if> |
| | | <if test="materialName != null">#{materialName},</if> |
| | | <if test="carType != null">#{carType},</if> |
| | | <if test="mark != null">#{mark},</if> |
| | | <if test="materialView != null">#{materialView},</if> |
| | | <if test="typeZ != null">#{typeZ},</if> |
| | |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="materialCode != null">material_code = #{materialCode},</if> |
| | | <if test="materialName != null">material_name = #{materialName},</if> |
| | | <if test="carType != null">car_type = #{carType},</if> |
| | | <if test="mark != null">mark = #{mark},</if> |
| | | <if test="materialView != null">material_view = #{materialView},</if> |
| | | <if test="typeZ != null">type_z = #{typeZ},</if> |
| | |
| | | </el-table-column> |
| | | <el-table-column label="特殊代码" align="center" prop="mark" width="180"> |
| | | </el-table-column> |
| | | <el-table-column label="车型" align="center" prop="carType" width="180"> |
| | | </el-table-column> |
| | | <el-table-column label="类型" align="center" prop="typeL"> |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.material_type" :value="scope.row.typeL"/> |
| | |
| | | </el-form-item> |
| | | <el-form-item label="特殊代码" prop="mark"> |
| | | <el-input v-model="form.mark" placeholder="请输入特殊代码" /> |
| | | </el-form-item> |
| | | <el-form-item label="车型" prop="carType"> |
| | | <el-input v-model="form.carType" placeholder="请输入特殊代码" /> |
| | | </el-form-item> |
| | | <el-form-item label="物料名称" prop="materialName"> |
| | | <el-input v-model="form.materialName" placeholder="请输入物料名称" /> |
| | |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | materialCode: null, |
| | | carType:null, |
| | | materialName: null, |
| | | materialView: null, |
| | | typeZ: null, |
| | |
| | | materialName: null, |
| | | materialView: null, |
| | | typeZ: null, |
| | | carType:null, |
| | | typeL: null, |
| | | unit: null, |
| | | matterVersion: null, |