|
|
|
@ -5,7 +5,7 @@ |
|
|
|
<select id="technicalSpecificationListSearch" parameterType="PlmTechnicalSpecificationSheetData" resultType="PlmTechnicalSpecificationSheetData"> |
|
|
|
SELECT a.id,a.site,a.code_no,a.project_id,a.test_part_no,a.status,a.rev_no,a.work_center_no,a.ECN_flag,a.ECN_no,a.ori_code_no, |
|
|
|
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,c.bu_no,dbo.plm_get_bu_desc(a.site,c.bu_no) buDesc, |
|
|
|
b.part_type,b.part_name,b.part_desc,b.part_spec,dbo.plm_get_technicalBaseDesc(a.status,'status') statusDesc,a.proofing_no,b.bu_no,dbo.plm_get_bu_desc(a.site,b.bu_no) buDesc, |
|
|
|
dbo.get_technicalSpecificationTeamName(a.site,a.code_no,'engineer') engineer, |
|
|
|
dbo.get_technicalSpecificationTeamName(a.site,a.code_no,'technician') technician,process, |
|
|
|
dbo.get_technicalSpecificationTeamName(a.site,a.code_no,'quotationOfficer') quotationOfficer,c.customer_Id |
|
|
|
@ -57,6 +57,10 @@ |
|
|
|
,#{cqcOperator},#{faiOperator},#{peOperater},#{csOperater},#{dccOperater},#{mpOperator}) |
|
|
|
</insert> |
|
|
|
|
|
|
|
<update id="updateProjectPartNowBm"> |
|
|
|
update plm_project_part set now_bm=#{codeNo} where site=#{site} and project_id=#{projectId} and test_part_no=#{testPartNo} |
|
|
|
</update> |
|
|
|
|
|
|
|
<insert id="saveTechnicalSpecificationTeams"> |
|
|
|
insert into plm_technicalSpecification_team (site,code_no,operator_id,type) |
|
|
|
values (#{site},#{codeNo},#{operatorId},#{type}) |
|
|
|
@ -90,7 +94,7 @@ |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="tsdBasicInformationSearch" resultType="PlmTechnicalSpecificationSheetData"> |
|
|
|
SELECT top 1 a.id,a.site,a.code_no,a.project_id,a.test_part_no,a.status,a.rev_no,a.work_center_no,a.ECN_flag,a.ECN_no,c.bu_no, |
|
|
|
SELECT top 1 a.id,a.site,a.code_no,a.project_id,a.test_part_no,a.status,a.rev_no,a.work_center_no,a.ECN_flag,a.ECN_no,b.bu_no, |
|
|
|
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, |
|
|
|
dbo.get_technicalSpecificationTeamName(a.site,a.code_no,'engineer') engineer,stage,dbo.plm_get_dictDataLabel('bm_process',process,a.site) process,remarkPage, |
|
|
|
|