diff --git a/src/main/java/com/spring/modules/sampleManagement/service/Impl/TechnicalSpecificationServiceImpl.java b/src/main/java/com/spring/modules/sampleManagement/service/Impl/TechnicalSpecificationServiceImpl.java
index 869be9eb..54c0351d 100644
--- a/src/main/java/com/spring/modules/sampleManagement/service/Impl/TechnicalSpecificationServiceImpl.java
+++ b/src/main/java/com/spring/modules/sampleManagement/service/Impl/TechnicalSpecificationServiceImpl.java
@@ -464,12 +464,12 @@ public class TechnicalSpecificationServiceImpl implements TechnicalSpecification
// customerPartNo
// 判断是否存在CustomerPartNo
String customerPartNo = technicalSpecificationMapper.queryCustomerPartNo(data.getSite(),data.getPartNo(),data.getCustomerId());
- if (StringUtils.isEmpty(customerPartNo)){
+ if (StringUtils.isEmpty(customerPartNo)) {
// 不存在数据 新增
if (StringUtils.hasText(data.getCustomerPartNo())){
technicalSpecificationMapper.saveCustomerPartNo(data.getSite(),data.getPartNo(),data.getCustomerId(),data.getCustomerPartNo(),sysUserEntity.getUsername());
}
- }else {
+ } else {
//存在数据修改
technicalSpecificationMapper.updateCustomerPartNo(data.getSite(),data.getPartNo(),data.getCustomerId(),data.getCustomerPartNo(),sysUserEntity.getUsername());
}
diff --git a/src/main/resources/mapper/project/ProjectDao.xml b/src/main/resources/mapper/project/ProjectDao.xml
index a871bcbe..1c80434c 100644
--- a/src/main/resources/mapper/project/ProjectDao.xml
+++ b/src/main/resources/mapper/project/ProjectDao.xml
@@ -766,7 +766,9 @@ update_by,update_date,priority,site,id,project_desc,customer_remark,remark,need_
- update plm_project_info set final_customer_id = #{finalCustomerId} where site = #{site} and project_id = #{projectId}
+ update plm_project_info
+ set final_customer_id = #{finalCustomerId}
+ where site = #{site} and project_id = #{projectId}