Browse Source

2025/7/11

master
Aoi_Tori 6 months ago
parent
commit
30dba3e521
  1. 25
      src/main/resources/mapper/project/ProjectDao.xml

25
src/main/resources/mapper/project/ProjectDao.xml

@ -667,20 +667,17 @@ update_by,update_date,priority,site,id,project_desc,customer_remark,remark,need_
</select>
<select id="getProjectPartNewBm" resultType="PlmProjectPartData">
SELECT code_no
FROM plm_technical_specification_sheet
WHERE site = #{site} and test_part_no = #{testPartNo}
<!-- select-->
<!-- site,-->
<!-- project_id,-->
<!-- test_part_no,-->
<!-- part_desc,-->
<!-- now_bm,-->
<!-- final_part_no-->
<!-- from-->
<!-- plm_project_part-->
<!-- where site = #{site} and (test_part_no = #{testPartNo} or final_part_no= #{testPartNo})-->
<!-- and now_bm is not null-->
select
ab.site,
ab.project_id,
ab.TEST_PART_NO ,
ab.test_part_no,
ab.part_desc,
ab.now_bm,
ab.final_part_no
from plm_technical_specification_sheet ax
left join plm_project_part ab on ax.site = ab.site and ax.test_part_no = ab.test_part_no
where ax.site = #{site} and ax.test_part_no =#{testPartNo} and ax.site is not null
</select>
<select id="queryProjectCustomer" resultType="com.spring.modules.customer.vo.CustomerInformationVo">

Loading…
Cancel
Save