|
|
@ -80,7 +80,8 @@ |
|
|
a.ECN_address,a.remark,a.create_date,a.create_by,a.update_date,a.update_by,b.final_part_no,dbo.plm_get_projectBaseDesc(b.part_type,'part_type') partTypeDesc, |
|
|
a.ECN_address,a.remark,a.create_date,a.create_by,a.update_date,a.update_by,b.final_part_no,dbo.plm_get_projectBaseDesc(b.part_type,'part_type') partTypeDesc, |
|
|
b.part_type,b.part_name,b.part_desc,b.part_spec,dbo.plm_get_technicalBaseDesc(a.status,'status') statusDesc,a.proofing_no, |
|
|
b.part_type,b.part_name,b.part_desc,b.part_spec,dbo.plm_get_technicalBaseDesc(a.status,'status') statusDesc,a.proofing_no, |
|
|
dbo.get_technicalSpecificationTeamName(a.site,a.code_no,'engineer') engineer,stage,process,remarkPage, |
|
|
dbo.get_technicalSpecificationTeamName(a.site,a.code_no,'engineer') engineer,stage,process,remarkPage, |
|
|
dbo.get_technicalSpecificationTeamName(a.site,a.code_no,'quotationOfficer') quotationOfficer,c.customer_Id,a.ori_code_no |
|
|
|
|
|
|
|
|
dbo.get_technicalSpecificationTeamName(a.site,a.code_no,'quotationOfficer') quotationOfficer,c.customer_Id,a.ori_code_no, |
|
|
|
|
|
a.cqcOperator,a.faiOperator,dbo.get_userDisPlay(a.cqcOperator) cqcOperatorName,dbo.get_userDisPlay(a.faiOperator) faiOperatorName |
|
|
FROM plm_technical_specification_sheet a |
|
|
FROM plm_technical_specification_sheet a |
|
|
left join view_Project_Part b on a.site=b.site and a.project_id=b.project_id and a.test_part_no=b.test_part_no |
|
|
left join view_Project_Part b on a.site=b.site and a.project_id=b.project_id and a.test_part_no=b.test_part_no |
|
|
left join plm_project_info c on a.site=c.site and a.project_id=c.project_id |
|
|
left join plm_project_info c on a.site=c.site and a.project_id=c.project_id |
|
|
@ -128,8 +129,9 @@ |
|
|
</select> |
|
|
</select> |
|
|
<update id="updateBMBasicInformation" > |
|
|
<update id="updateBMBasicInformation" > |
|
|
update plm_technical_specification_sheet set status=#{status},stage=#{stage},remarkPage=#{remarkPage} |
|
|
update plm_technical_specification_sheet set status=#{status},stage=#{stage},remarkPage=#{remarkPage} |
|
|
,rev_no=#{revNo},ECN_no=#{ecnNo},ECN_flag=#{ecnFlag},ECN_address=#{ecnAddress},update_date=GetDate(),update_by=#{updateBy} where site=#{site} |
|
|
|
|
|
and code_no=#{codeNo} |
|
|
|
|
|
|
|
|
,rev_no=#{revNo},ECN_no=#{ecnNo},ECN_flag=#{ecnFlag},ECN_address=#{ecnAddress},cqcOperator=#{cqcOperator},update_date=GetDate(),update_by=#{updateBy} |
|
|
|
|
|
,faiOperator=#{faiOperator} |
|
|
|
|
|
where site=#{site} and code_no=#{codeNo} |
|
|
</update> |
|
|
</update> |
|
|
|
|
|
|
|
|
<select id="searchBMcustomerInfo" resultType="PlmTechnicalSpecificationSheetData"> |
|
|
<select id="searchBMcustomerInfo" resultType="PlmTechnicalSpecificationSheetData"> |
|
|
|