|
@@ -1308,8 +1308,7 @@ public class ZhcxOutsideInspectionItpServiceImpl extends ServiceImpl<ZhcxOutside
|
|
|
* @param req
|
|
|
*/
|
|
|
@Override
|
|
|
- public void sync2SubmissionPlatform(OutsideInspactionSyncReqquest req,String companyName) {
|
|
|
- System.out.println(companyName+"公司名称===========");
|
|
|
+ public void sync2SubmissionPlatform(OutsideInspactionSyncReqquest req) {
|
|
|
List<OutsideInspactionSyncDto> syncDtoList = dao.getInspection(req);
|
|
|
|
|
|
if(ObjectUtil.isEmpty(syncDtoList)) {
|
|
@@ -1346,7 +1345,7 @@ public class ZhcxOutsideInspectionItpServiceImpl extends ServiceImpl<ZhcxOutside
|
|
|
record.setDeleted("0");
|
|
|
recordList.add(record);
|
|
|
}
|
|
|
- R result = bsPlatformService.syncOutsideInpection(syncDtoList,companyName);
|
|
|
+ R result = bsPlatformService.syncOutsideInpection(syncDtoList, req.getCompanyName());
|
|
|
|
|
|
if(ObjectUtil.isNull(result) || !"200".equals(result.getCode())) {
|
|
|
log.error("请求结果:{}", result);
|