Commit 847295e3 authored by wanghang's avatar wanghang

改动

parent ed5e0bd7
......@@ -48,8 +48,28 @@
<option name="tableUIInfoList">
<list>
<TableUIInfo>
<option name="className" value="WorkInstruction" />
<option name="tableName" value="work_instruction" />
<option name="className" value="WorkInstructionBaseInfo" />
<option name="tableName" value="work_instruction_base_info" />
</TableUIInfo>
<TableUIInfo>
<option name="className" value="WorkInstructionMaterialInfo" />
<option name="tableName" value="work_instruction_material_info" />
</TableUIInfo>
<TableUIInfo>
<option name="className" value="WorkInstructionOptionalAttribute" />
<option name="tableName" value="work_instruction_optional_attribute" />
</TableUIInfo>
<TableUIInfo>
<option name="className" value="WorkInstructionPdPublishedConf" />
<option name="tableName" value="work_instruction_pd_published_conf" />
</TableUIInfo>
<TableUIInfo>
<option name="className" value="WorkInstructionPrdLooked" />
<option name="tableName" value="work_instruction_prd_looked" />
</TableUIInfo>
<TableUIInfo>
<option name="className" value="WorkInstructionProductLoss" />
<option name="tableName" value="work_instruction_product_loss" />
</TableUIInfo>
</list>
</option>
......
......@@ -32,7 +32,7 @@ function bindQueryEvent() {
onChange: function (value, data) {
$('#productCode').val(data.productCode);
ajaxRenderDataGoForm(data.proofingApplyNo);
showTechnologyTable(data.productId);
showTable(data.proofingApplyId);
}
});
}
......
......@@ -157,11 +157,23 @@ function loadProofingApplyGrid(obj) {
function showTable(proofingApplyId){
technologyObj.parms={proofingApplyId:proofingApplyId}
technologyObj.url="";
debugger
technologyObj.parms = {proofingApplyId: proofingApplyId}
if(technologyObj.gridManager!=null) {
reloadGrid(technologyObj);
}else{
technologyObj.url = "queryProofingApplyTechnology";
loadProofingApplyGrid(technologyObj);
}
let result = DataUtil.getUpdateRow(technologyObj.gridManager); // 获取选中行
processObj.parms = {technologyId: result.technologyId}
if(processObj.gridManager!=null) {
reloadGrid(processObj);
}else{
processObj.url = ""
loadProofingApplyGrid(processObj);
}
}
......
......@@ -2,10 +2,8 @@ package com.huigou.topsun.product.domain;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.*;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
......@@ -14,6 +12,7 @@ import org.hibernate.annotations.GenericGenerator;
* @TableName size_group
*/
@Table(name="size_group")
@Entity
@Data
public class SizeGroup implements Serializable {
/**
......
package com.huigou.topsun.product.domain;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.*;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
......@@ -13,6 +11,7 @@ import org.hibernate.annotations.GenericGenerator;
* @TableName size_group_item
*/
@Table(name="size_group_item")
@Entity
@Data
public class SizeGroupItem implements Serializable {
/**
......
package com.huigou.topsun.proofing.application;
import com.huigou.topsun.proofing.domain.query.ProofingApplyProcessQueryRequest;
import com.huigou.topsun.proofing.domain.query.proofingApplyTechnologyQueryRequest;
import java.util.Map;
public interface ProofingApplyProcessApplication {
String QUERY_XML_FILE_PATH = "config/topsun/proofing/proofingApply.xml";
Map<String, Object> slicedProofingApplyProcess(ProofingApplyProcessQueryRequest query);
}
......@@ -88,7 +88,7 @@ public class ProofingApplyApplicationImpl extends FlowBroker implements Proofing
}
String id = UUID.randomUUID().toString().replace("-", "");
proofingApply.setProofingApplyId(id);
proofingApply.setProofingApplyApplicationStatus(StringUtil.isBlank(proofingApply.getProofingApplyNgReReason())?"normal":"cancel");
// proofingApply.setProofingApplyApplicationStatus(StringUtil.isBlank(proofingApply.getProofingApplyNgReReason())?"normal":"cancel");
proofingApply = proofingApplyRepository.save(proofingApply);
proofingApplyLooked.setProofingApplyId(proofingApply.getProofingApplyId());
......
package com.huigou.topsun.proofing.application.impl;
import com.huigou.data.query.model.QueryDescriptor;
import com.huigou.topsun.proofing.application.ProofingApplyProcessApplication;
import com.huigou.topsun.proofing.domain.query.ProofingApplyProcessQueryRequest;
import com.huigou.uasp.bmp.common.application.BaseApplication;
import org.springframework.stereotype.Service;
import java.util.Map;
@Service
public class ProofingApplyProcessApplicationImpl extends BaseApplication implements ProofingApplyProcessApplication {
@Override
public Map<String, Object> slicedProofingApplyProcess(ProofingApplyProcessQueryRequest query) {
QueryDescriptor queryDescriptor = this.sqlExecutorDao.getQuery(QUERY_XML_FILE_PATH, "slicedProofingApplyTechnology");
return this.sqlExecutorDao.executeSlicedQuery(queryDescriptor,query);
}
}
......@@ -5,9 +5,11 @@ import com.huigou.topsun.proofing.application.ProofingApplyTechnologyApplication
import com.huigou.topsun.proofing.application.ProofingMakeApplication;
import com.huigou.topsun.proofing.domain.query.proofingApplyTechnologyQueryRequest;
import com.huigou.uasp.bmp.common.application.BaseApplication;
import org.springframework.stereotype.Service;
import java.util.Map;
@Service
public class ProofingApplyTechnologyApplicationImpl extends BaseApplication implements ProofingApplyTechnologyApplication {
......
......@@ -68,7 +68,7 @@ public class ProofingMakeApplicationImpl extends BaseApplication implements Proo
ProofingMakeLooked proofingMakeLooked = sdo.toObject(ProofingMakeLooked.class);
ProofingMakePdPublishedConf proofingMakePdPublishedConf = sdo.toObject(ProofingMakePdPublishedConf.class);
proofingMakeBaseInfo.setProofingMakeApplicationStatus(StringUtil.isBlank(proofingMakeBaseInfo.getProofingMakeNgReReason())?"normal":"cancel");
// proofingMakeBaseInfo.setProofingMakeApplicationStatus(StringUtil.isBlank(proofingMakeBaseInfo.getProofingMakeNgReReason())?"normal":"cancel");
proofingMakeBaseInfo = proofingMakeRepository.save(proofingMakeBaseInfo);
proofingMakeLooked.setProofingMakeId(proofingMakeBaseInfo.getProofingMakeId());
......
......@@ -7,9 +7,13 @@ import com.huigou.topsun.product.domain.ProductLooked;
import com.huigou.topsun.proofing.application.ProofingApplyApplication;
import com.huigou.topsun.proofing.application.ProofingApplyLookedApplication;
import com.huigou.topsun.proofing.application.ProofingApplyProcessApplication;
import com.huigou.topsun.proofing.application.ProofingApplyTechnologyApplication;
import com.huigou.topsun.proofing.domain.model.proofingApply.ProofingApplyBaseInfo;
import com.huigou.topsun.proofing.domain.model.proofingApply.ProofingApplyLooked;
import com.huigou.topsun.proofing.domain.query.ProofingApplyProcessQueryRequest;
import com.huigou.topsun.proofing.domain.query.ProofingApplyQuery;
import com.huigou.topsun.proofing.domain.query.proofingApplyTechnologyQueryRequest;
import com.huigou.topsun.technology.application.TechnologyApplication;
import com.huigou.topsun.technology.application.TechnologyProcessApplication;
import com.huigou.topsun.technology.domain.query.TechnologyQueryRequest;
......@@ -41,6 +45,10 @@ public class ProofingApplyController extends CommonController {
ProductLookedApplication productLookedApplication;
@Resource
private TechnologyProcessApplication technologyProcessApplication;
@Autowired
ProofingApplyTechnologyApplication proofingApplyTechnologyApplication;
@Autowired
ProofingApplyProcessApplication proofingApplyProcessApplication;
/**
* 打样申请详情
......@@ -128,4 +136,20 @@ public class ProofingApplyController extends CommonController {
String technologyId = sdo.getString("technologyId");
return packGridDataAndResult(technologyProcessApplication.slicedTechnologyProcessList(technologyId));
}
public String queryProofingApplyTechnology(){
SDO sdo = this.getSDO();
proofingApplyTechnologyQueryRequest proofingApplyTechnologyQueryRequest = sdo.toQueryRequest(proofingApplyTechnologyQueryRequest.class);
Map<String, Object> map = proofingApplyTechnologyApplication.slicedProofingApplyTechnology(proofingApplyTechnologyQueryRequest);
return toResult(map);
}
public String slicedProofingApplyTechnologyProcess(){
SDO sdo = this.getSDO();
ProofingApplyProcessQueryRequest proofingApplyProcessQueryRequest = sdo.toQueryRequest(ProofingApplyProcessQueryRequest.class);
Map<String, Object> map = proofingApplyProcessApplication.slicedProofingApplyProcess(proofingApplyProcessQueryRequest);
return toResult(map);
}
}
......@@ -3,10 +3,12 @@ package com.huigou.topsun.proofing.controller;
import com.huigou.topsun.product.application.ProductLookedApplication;
import com.huigou.topsun.proofing.application.ProofingApplyApplication;
import com.huigou.topsun.proofing.application.ProofingApplyTechnologyApplication;
import com.huigou.topsun.proofing.application.ProofingMakeApplication;
import com.huigou.topsun.proofing.domain.model.proofingMake.ProofingMakeBaseInfo;
import com.huigou.topsun.proofing.domain.query.ProofingMakeQueryRequest;
import com.huigou.topsun.proofing.domain.query.proofingApplyTechnologyQueryRequest;
import com.huigou.topsun.proofing.domain.vo.ProofingApplyAndLookedVo;
import com.huigou.topsun.proofing.domain.vo.ProofingMakeVo;
......@@ -37,6 +39,7 @@ public class ProofingMakeController extends CommonController {
/**
* 跳转打样制造查询页
* @return
......@@ -104,11 +107,7 @@ public class ProofingMakeController extends CommonController {
}
public String queryProofingApplyTechnology(){
SDO sdo = this.getSDO();
String proofingApplyNo = sdo.getString("proofingApplyNo");
}
}
package com.huigou.topsun.proofing.domain.model.proofingApply;
import com.huigou.data.domain.model.FlowBillAbstractEntity;
import com.topsunit.query.annotations.Dictionary;
import lombok.Data;
import javax.persistence.Column;
......@@ -140,6 +141,7 @@ public class ProofingApplyBaseInfo extends FlowBillAbstractEntity {
/**
* 申请单状态
*/
@Dictionary("handleResult")
@Column(name = "proofing_apply_application_status")
private String proofingApplyApplicationStatus;
......
package com.huigou.topsun.proofing.domain.model.proofingApply;
import com.topsunit.query.annotations.Dictionary;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
......@@ -50,6 +51,7 @@ public class ProofingApplyLooked implements Serializable {
/**
* 是否改变
*/
@Dictionary("yesorno")
@Column(name = "is_change")
private String isChange;
......
package com.huigou.topsun.proofing.domain.query;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.huigou.data.domain.query.QueryAbstractRequest;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
import java.io.Serializable;
/**
* 打样申请工序
*/
@Data
public class ProofingApplyProcessQueryRequest extends QueryAbstractRequest {
/**
* 工序ID
*/
private String proofingApplyProcessId;
/**
* 打样工艺工艺id
*/
private String proofingApplyTechnologyId;
/**
* 工序名称
*/
private String processName;
/**
* 工序说明
*/
private String processRemark;
/**
* 工时
*/
private Double workHours;
/**
* 工序类别(process_type)
*/
private String processType;
/**
* 工序内容
*/
private String processContent;
}
\ No newline at end of file
......@@ -3,12 +3,13 @@
<easy-search name="proofingApplyCode" desc="订单">
<sql>
select pa.proofing_apply_no,pa.product_id,p.product_code
select pa.proofing_apply_no,pa.proofing_apply_id,pa.product_id,p.product_code
from proofing_apply_base_info pa
inner join product p on(pa.product_id=p.product_id)
where pa.proofing_apply_application_status ='normal'
</sql>
<field name="申请单号" title="申请单号" code="proofingApplyNo" width="200" />
<field name="申请Id" title="申请Id" code="proofingApplyId" width="200" />
<field name="产品Id" title="产品Id" code="productId" width="200" type="hidden"/>
<field name="产品编号" title="产品编号" code="productCode" width="200" />
</easy-search>
......
......@@ -14,66 +14,6 @@
<query name="queryProofingApplyAndProductQuery" table="proofing_apply">
<sql-query>
<!-- select-->
<!-- pa.proofing_apply_id,-->
<!-- pa.proofing_apply_no,-->
<!-- pa.product_id,-->
<!-- pa.customer_id,-->
<!-- pa.proofing_apply_page_need_time,-->
<!-- pa.proofing_apply_complete_date,-->
<!-- pa.proofing_apply_sample_cn_name,-->
<!-- pa.proofing_apply_sample_en_name,-->
<!-- pa.proofing_apply_sample_version,-->
<!-- pa.proofing_apply_sample_size,-->
<!-- pa.proofing_apply_sample_num,-->
<!-- pa.proofing_apply_output_situation,-->
<!-- pa.proofing_apply_product_no,-->
<!-- pa.proofing_type,-->
<!-- pa.proofing_apply_allocation_type,-->
<!-- pa.proofing_apply_surface_treatment,-->
<!-- pa.proofing_apply_ng_re_reason,-->
<!-- pa.proofing_apply_application_status,-->
<!-- pa.proofing_apply_test_standard,-->
<!-- pa.is_output,-->
<!-- pa.is_out,-->
<!-- pa.is_change,-->
<!-- pl.product_looked_id,-->
<!-- pl.product_length,-->
<!-- pl.product_width,-->
<!-- pl.product_height,-->
<!-- pl.product_thick,-->
<!-- pl.product_weight,-->
<!-- pl.product_angle_type,-->
<!-- pl.product_angle,-->
<!-- pl.product_aperture,-->
<!-- pl.product_single_layer,-->
<!-- pl.product_single_weight,-->
<!-- pl.product_layer_num,-->
<!-- pl.product_mould,-->
<!-- pl.product_coding,-->
<!-- pl.product_sys_certification,-->
<!-- pl.store_name,-->
<!-- pl.product_buy_unit,-->
<!-- pl.product_shape,-->
<!-- pl.prodcut_shape_size,-->
<!-- p.product_name,-->
<!-- p.product_status,-->
<!-- p.product_unit,-->
<!-- p.product_sample_code,-->
<!-- p.brand_name,-->
<!-- p.product_type,-->
<!-- pc.product_category_name-->
<!-- FROM-->
<!-- proofing_apply_base_info pa-->
<!-- JOIN-->
<!-- product_looked pl ON pa.product_id = pl.product_id-->
<!-- JOIN-->
<!-- product p ON pa.product_id = p.product_id-->
<!-- JOIN-->
<!-- product_category pc ON p.product_category_id = pc.product_category_id-->
select
pa.proofing_apply_no,
pa.product_id,
......@@ -103,13 +43,18 @@
</query>
<query name="slicedProofingApplyTechnology" table="proofing_make_technology">
<query name="slicedProofingApplyTechnology" table="proofing_Apply_technology">
<sql-query>
select t.* from proofing_make_technology t where 1=1
select t.* from proofing_Apply_technology t
</sql-query>
<permissions>
<condition column="proofing_apply_id" name="proofingApplyId" type="java.lang.String" symbol="=" alias="t"/>
</permissions>
</query>
<query name="slicedProofingApplyProcess" table="proofing_apply_process">
<sql-query>
select t.* from proofing_apply_process t
</sql-query>
<condition column="proofing_apply_technology_id" name="proofingApplyTechnologyId" type="java.lang.String" symbol="=" alias="t"/>
</query>
......
<?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="generator.mapper.WorkInstructionMapper">
<resultMap id="BaseResultMap" type="generator.domain.WorkInstruction">
<id property="workInstructionId" column="work_instruction_id" jdbcType="VARCHAR"/>
<result property="workInstructionApplyId" column="work_instruction_apply_id" jdbcType="VARCHAR"/>
<result property="isBuildBom" column="is_build_bom" jdbcType="VARCHAR"/>
<result property="confirmDate" column="confirm_date" jdbcType="TIMESTAMP"/>
<result property="comfirmPerson" column="comfirm_person" jdbcType="VARCHAR"/>
<result property="isFreeInspection" column="is_free_inspection" jdbcType="VARCHAR"/>
<result property="isNoQualityLoss" column="is_no_quality_loss" jdbcType="VARCHAR"/>
<result property="sampleOrderNo" column="sample_order_no" jdbcType="VARCHAR"/>
<result property="stockNo" column="stock_no" jdbcType="VARCHAR"/>
<result property="stockName" column="stock_name" jdbcType="VARCHAR"/>
<result property="fileNo" column="file_no" jdbcType="VARCHAR"/>
<result property="styleColorMatch" column="style_color_match" jdbcType="VARCHAR"/>
<result property="customerMaterialNo" column="customer_material_no" jdbcType="VARCHAR"/>
<result property="versionNo" column="version_no" jdbcType="VARCHAR"/>
<result property="coefficient" column="coefficient" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
work_instruction_id,work_instruction_apply_id,is_build_bom,
confirm_date,comfirm_person,is_free_inspection,
is_no_quality_loss,sample_order_no,stock_no,
stock_name,file_no,style_color_match,
customer_material_no,version_no,coefficient
</sql>
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from work_instruction
where work_instruction_id = #{workInstructionId,jdbcType=VARCHAR}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
delete from work_instruction
where work_instruction_id = #{workInstructionId,jdbcType=VARCHAR}
</delete>
<insert id="insert" keyColumn="work_instruction_id" keyProperty="workInstructionId" parameterType="generator.domain.WorkInstruction" useGeneratedKeys="true">
insert into work_instruction
( work_instruction_id,work_instruction_apply_id,is_build_bom
,confirm_date,comfirm_person,is_free_inspection
,is_no_quality_loss,sample_order_no,stock_no
,stock_name,file_no,style_color_match
,customer_material_no,version_no,coefficient
)
values (#{workInstructionId,jdbcType=VARCHAR},#{workInstructionApplyId,jdbcType=VARCHAR},#{isBuildBom,jdbcType=VARCHAR}
,#{confirmDate,jdbcType=TIMESTAMP},#{comfirmPerson,jdbcType=VARCHAR},#{isFreeInspection,jdbcType=VARCHAR}
,#{isNoQualityLoss,jdbcType=VARCHAR},#{sampleOrderNo,jdbcType=VARCHAR},#{stockNo,jdbcType=VARCHAR}
,#{stockName,jdbcType=VARCHAR},#{fileNo,jdbcType=VARCHAR},#{styleColorMatch,jdbcType=VARCHAR}
,#{customerMaterialNo,jdbcType=VARCHAR},#{versionNo,jdbcType=VARCHAR},#{coefficient,jdbcType=VARCHAR}
)
</insert>
<insert id="insertSelective" keyColumn="work_instruction_id" keyProperty="workInstructionId" parameterType="generator.domain.WorkInstruction" useGeneratedKeys="true">
insert into work_instruction
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="workInstructionId != null">work_instruction_id,</if>
<if test="workInstructionApplyId != null">work_instruction_apply_id,</if>
<if test="isBuildBom != null">is_build_bom,</if>
<if test="confirmDate != null">confirm_date,</if>
<if test="comfirmPerson != null">comfirm_person,</if>
<if test="isFreeInspection != null">is_free_inspection,</if>
<if test="isNoQualityLoss != null">is_no_quality_loss,</if>
<if test="sampleOrderNo != null">sample_order_no,</if>
<if test="stockNo != null">stock_no,</if>
<if test="stockName != null">stock_name,</if>
<if test="fileNo != null">file_no,</if>
<if test="styleColorMatch != null">style_color_match,</if>
<if test="customerMaterialNo != null">customer_material_no,</if>
<if test="versionNo != null">version_no,</if>
<if test="coefficient != null">coefficient,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="workInstructionId != null">#{workInstructionId,jdbcType=VARCHAR},</if>
<if test="workInstructionApplyId != null">#{workInstructionApplyId,jdbcType=VARCHAR},</if>
<if test="isBuildBom != null">#{isBuildBom,jdbcType=VARCHAR},</if>
<if test="confirmDate != null">#{confirmDate,jdbcType=TIMESTAMP},</if>
<if test="comfirmPerson != null">#{comfirmPerson,jdbcType=VARCHAR},</if>
<if test="isFreeInspection != null">#{isFreeInspection,jdbcType=VARCHAR},</if>
<if test="isNoQualityLoss != null">#{isNoQualityLoss,jdbcType=VARCHAR},</if>
<if test="sampleOrderNo != null">#{sampleOrderNo,jdbcType=VARCHAR},</if>
<if test="stockNo != null">#{stockNo,jdbcType=VARCHAR},</if>
<if test="stockName != null">#{stockName,jdbcType=VARCHAR},</if>
<if test="fileNo != null">#{fileNo,jdbcType=VARCHAR},</if>
<if test="styleColorMatch != null">#{styleColorMatch,jdbcType=VARCHAR},</if>
<if test="customerMaterialNo != null">#{customerMaterialNo,jdbcType=VARCHAR},</if>
<if test="versionNo != null">#{versionNo,jdbcType=VARCHAR},</if>
<if test="coefficient != null">#{coefficient,jdbcType=VARCHAR},</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="generator.domain.WorkInstruction">
update work_instruction
<set>
<if test="workInstructionApplyId != null">
work_instruction_apply_id = #{workInstructionApplyId,jdbcType=VARCHAR},
</if>
<if test="isBuildBom != null">
is_build_bom = #{isBuildBom,jdbcType=VARCHAR},
</if>
<if test="confirmDate != null">
confirm_date = #{confirmDate,jdbcType=TIMESTAMP},
</if>
<if test="comfirmPerson != null">
comfirm_person = #{comfirmPerson,jdbcType=VARCHAR},
</if>
<if test="isFreeInspection != null">
is_free_inspection = #{isFreeInspection,jdbcType=VARCHAR},
</if>
<if test="isNoQualityLoss != null">
is_no_quality_loss = #{isNoQualityLoss,jdbcType=VARCHAR},
</if>
<if test="sampleOrderNo != null">
sample_order_no = #{sampleOrderNo,jdbcType=VARCHAR},
</if>
<if test="stockNo != null">
stock_no = #{stockNo,jdbcType=VARCHAR},
</if>
<if test="stockName != null">
stock_name = #{stockName,jdbcType=VARCHAR},
</if>
<if test="fileNo != null">
file_no = #{fileNo,jdbcType=VARCHAR},
</if>
<if test="styleColorMatch != null">
style_color_match = #{styleColorMatch,jdbcType=VARCHAR},
</if>
<if test="customerMaterialNo != null">
customer_material_no = #{customerMaterialNo,jdbcType=VARCHAR},
</if>
<if test="versionNo != null">
version_no = #{versionNo,jdbcType=VARCHAR},
</if>
<if test="coefficient != null">
coefficient = #{coefficient,jdbcType=VARCHAR},
</if>
</set>
where work_instruction_id = #{workInstructionId,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey" parameterType="generator.domain.WorkInstruction">
update work_instruction
set
work_instruction_apply_id = #{workInstructionApplyId,jdbcType=VARCHAR},
is_build_bom = #{isBuildBom,jdbcType=VARCHAR},
confirm_date = #{confirmDate,jdbcType=TIMESTAMP},
comfirm_person = #{comfirmPerson,jdbcType=VARCHAR},
is_free_inspection = #{isFreeInspection,jdbcType=VARCHAR},
is_no_quality_loss = #{isNoQualityLoss,jdbcType=VARCHAR},
sample_order_no = #{sampleOrderNo,jdbcType=VARCHAR},
stock_no = #{stockNo,jdbcType=VARCHAR},
stock_name = #{stockName,jdbcType=VARCHAR},
file_no = #{fileNo,jdbcType=VARCHAR},
style_color_match = #{styleColorMatch,jdbcType=VARCHAR},
customer_material_no = #{customerMaterialNo,jdbcType=VARCHAR},
version_no = #{versionNo,jdbcType=VARCHAR},
coefficient = #{coefficient,jdbcType=VARCHAR}
where work_instruction_id = #{workInstructionId,jdbcType=VARCHAR}
</update>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment