| | |
| | | PropertyWhiteListFlowDto whites = BeanConvertUtil.covertBean(data, PropertyWhiteListFlowDto.class); |
| | | int count = importPropertyWhiteListfFlowServiceSMOImpl.countPropertyWhiteListFlowFilter(whites); |
| | | if (count > 0) { |
| | | throw new IllegalArgumentException("重复的导入内容"); |
| | | throw new IllegalArgumentException("第" + whites.getRow() + "行存在重复的导入内容"); |
| | | } |
| | | int flag = importPropertyWhiteListfFlowServiceSMOImpl.savePropertyWhiteListFlow(whites); |
| | | if (flag < 1) { |
| | | throw new IllegalArgumentException("导入失败"); |
| | | throw new IllegalArgumentException("第" + whites.getRow() + "行导入失败"); |
| | | } |
| | | |
| | | } |