|
|
@@ -571,13 +571,12 @@ public class MESDataServiceImpl implements MESDataService {
|
|
|
SpObserver.putSp(AE_MASTER); //切换数据源
|
|
|
//保存传参数据原始JSON串,记录日志
|
|
|
savelog("设置产品SN强制绑定项",jsonData,accessKey,requestId);
|
|
|
- return ApiResponse.successRsp("0",requestId,"操作成功");
|
|
|
//执行业务操作
|
|
|
- //return executeSNBindSet(accessKey,requestId,reqData);
|
|
|
+ return executeSNBindSet(accessKey,requestId,reqData);
|
|
|
}
|
|
|
|
|
|
|
|
|
- /*@Transactional
|
|
|
+ @Transactional
|
|
|
public ApiResult<Map<Object, Object>> executeSNBindSet(String accessKey, String requestId, ProdBindSetRequest reqData){
|
|
|
String type = reqData.getData().getType();
|
|
|
String ss_mothercode = reqData.getData().getSs_mothercode();
|
|
|
@@ -624,7 +623,7 @@ public class MESDataServiceImpl implements MESDataService {
|
|
|
}
|
|
|
}
|
|
|
return ApiResponse.successRsp("0",requestId,"操作成功");
|
|
|
- }*/
|
|
|
+ }
|
|
|
|
|
|
@Transactional(propagation = Propagation.REQUIRES_NEW)
|
|
|
public void savelog(String actiontype, String json, String accesskey, String requestId){
|