|
|
@ -1268,7 +1268,7 @@ public class BaseInvoiceController extends AbstractController { |
|
|
|
|
|
|
|
|
|
|
|
JSONObject jsonObject = new JSONObject(map); |
|
|
|
JSONObject jsonObject = new JSONObject(map); |
|
|
|
String uuids = jsonObject.getString("uuids"); |
|
|
|
String uuids = jsonObject.getString("uuids"); |
|
|
|
if (StringUtils.isEmpty(uuids)){ |
|
|
|
if (StringUtils.isEmpty(uuids) ||(uuids.length() == 1 && uuids.contains(","))){ |
|
|
|
return ResponseEntity.ok(R.error("请先选择要暂挂的数据")); |
|
|
|
return ResponseEntity.ok(R.error("请先选择要暂挂的数据")); |
|
|
|
} |
|
|
|
} |
|
|
|
String suspendType = jsonObject.getString("suspendType"); |
|
|
|
String suspendType = jsonObject.getString("suspendType"); |
|
|
@ -1292,7 +1292,7 @@ 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 { |
|
|
|