|
|
@@ -74,8 +74,10 @@ public class BlackObuInManager extends AbstractCommManager implements LogManager |
|
|
|
public void dsiBasicDataUpdateRequest(String id, Integer status) throws ServiceHandleException { |
|
|
|
OisBasicDataUpdateRequest request = new OisBasicDataUpdateRequest(); |
|
|
|
if (status == 1){ |
|
|
|
//下黑 |
|
|
|
request.setQtkBlackObu(blackObuRepo.findById(id).orElse(null)); |
|
|
|
}else { |
|
|
|
//反白 |
|
|
|
QtkBlackObuHis blackObuHis = blackObuHisRepo.findById(id).orElse(null); |
|
|
|
QtkBlackObu blackObu = copyProperties(blackObuHis, new QtkBlackObu()); |
|
|
|
request.setQtkBlackObu(blackObu); |
|
|
@@ -123,6 +125,10 @@ public class BlackObuInManager extends AbstractCommManager implements LogManager |
|
|
|
} else { |
|
|
|
if (response.isSuccess()) { |
|
|
|
String json = response.getMsg(); |
|
|
|
if ("成功".equals(json)){ |
|
|
|
response.setUploadStatus(1); |
|
|
|
return response; |
|
|
|
} |
|
|
|
if (hasText(json)) { |
|
|
|
int indexOf1 = json.indexOf("对应黑名单重复上传");//卡 |
|
|
|
int indexOf2 = json.indexOf("10秒内不允许上传相同的文件"); |