|
|
@ -1261,10 +1261,10 @@ public class BaseInvoiceController extends AbstractController { |
|
|
|
return ResponseEntity.ok(R.error("缺少请求参数")); |
|
|
|
return ResponseEntity.ok(R.error("缺少请求参数")); |
|
|
|
} |
|
|
|
} |
|
|
|
log.info("getUserInfo====>{}",getUserInfo()); |
|
|
|
log.info("getUserInfo====>{}",getUserInfo()); |
|
|
|
// List<String> gfshAll = UserInfoUtil.getGfshAll(getUserInfo().getOrg());
|
|
|
|
List<String> gfshAll = UserInfoUtil.getGfshAll(getUserInfo().getOrg()); |
|
|
|
// if (gfshAll ==null || gfshAll.isEmpty()){
|
|
|
|
if (gfshAll ==null || gfshAll.isEmpty()){ |
|
|
|
// return ResponseEntity.ok(R.error("购方信息不能为空"));
|
|
|
|
return ResponseEntity.ok(R.error("购方信息不能为空")); |
|
|
|
// }
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
JSONObject jsonObject = new JSONObject(map); |
|
|
|
JSONObject jsonObject = new JSONObject(map); |
|
|
|
String uuids = jsonObject.getString("uuids"); |
|
|
|
String uuids = jsonObject.getString("uuids"); |
|
|
@ -1279,7 +1279,7 @@ public class BaseInvoiceController extends AbstractController { |
|
|
|
List<String> uuidList = Arrays.asList(uuidArray); |
|
|
|
List<String> uuidList = Arrays.asList(uuidArray); |
|
|
|
|
|
|
|
|
|
|
|
//查询库中是否包含对应数据
|
|
|
|
//查询库中是否包含对应数据
|
|
|
|
DynamicContextHolder.push("business"+ DbConstant.BUSINESS_READ); |
|
|
|
DynamicContextHolder.push(getUserInfo().getDbName()+ DbConstant.BUSINESS_READ); |
|
|
|
List<String> list = baseIRzTDxRecordInvoiceService.findSuspendStatus(uuidList); |
|
|
|
List<String> list = baseIRzTDxRecordInvoiceService.findSuspendStatus(uuidList); |
|
|
|
if (list == null || list.isEmpty()){ |
|
|
|
if (list == null || list.isEmpty()){ |
|
|
|
return ResponseEntity.ok(R.error("没有可操作的数据")); |
|
|
|
return ResponseEntity.ok(R.error("没有可操作的数据")); |
|
|
@ -1292,8 +1292,8 @@ public class BaseInvoiceController extends AbstractController { |
|
|
|
Map<String,Object> pramsMap = new HashMap<>(); |
|
|
|
Map<String,Object> pramsMap = new HashMap<>(); |
|
|
|
pramsMap.put("suspendType",suspendType); |
|
|
|
pramsMap.put("suspendType",suspendType); |
|
|
|
pramsMap.put("uuids",uuidList); |
|
|
|
pramsMap.put("uuids",uuidList); |
|
|
|
// pramsMap.put("dbName",getUserInfo().getDbName());
|
|
|
|
pramsMap.put("dbName",getUserInfo().getDbName()); |
|
|
|
pramsMap.put("dbName","business"); |
|
|
|
// pramsMap.put("dbName","business");
|
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
|
return ResponseEntity |
|
|
|
return ResponseEntity |
|
|
|