Browse Source

2025-05-08

master
qiezi 8 months ago
parent
commit
df4ad2b5de
  1. 4
      src/main/java/com/spring/modules/sampleManagement/service/Impl/TechnicalSpecificationServiceImpl.java
  2. 2
      src/main/resources/application-dev.yml

4
src/main/java/com/spring/modules/sampleManagement/service/Impl/TechnicalSpecificationServiceImpl.java

@ -382,7 +382,9 @@ public class TechnicalSpecificationServiceImpl implements TechnicalSpecification
String customerPartNo = technicalSpecificationMapper.queryCustomerPartNo(data.getSite(),data.getPartNo(),data.getCustomerId()); String customerPartNo = technicalSpecificationMapper.queryCustomerPartNo(data.getSite(),data.getPartNo(),data.getCustomerId());
if (StringUtils.isEmpty(customerPartNo)){ if (StringUtils.isEmpty(customerPartNo)){
// 不存在数据 新增 // 不存在数据 新增
technicalSpecificationMapper.saveCustomerPartNo(data.getSite(),data.getPartNo(),data.getCustomerId(),data.getCustomerPartNo(),sysUserEntity.getUsername());
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()); technicalSpecificationMapper.updateCustomerPartNo(data.getSite(),data.getPartNo(),data.getCustomerId(),data.getCustomerPartNo(),sysUserEntity.getUsername());

2
src/main/resources/application-dev.yml

@ -77,7 +77,7 @@ oa-api:
# OA接口控制 (false 禁止调用;true 开启调用) # OA接口控制 (false 禁止调用;true 开启调用)
oa-control: oa-control:
control-flag: false
control-flag: true
#是否启用域控登录 #是否启用域控登录
ldap-control: ldap-control:

Loading…
Cancel
Save