|
@ -135,14 +135,15 @@ public class CaLoudongServiceImpl extends BaseServiceImpl<CaLoudongDao, CaLoudon |
|
|
*/ |
|
|
*/ |
|
|
@Override |
|
|
@Override |
|
|
public void preserLouDongVation(PreserVationFormDTO dto) { |
|
|
public void preserLouDongVation(PreserVationFormDTO dto) { |
|
|
baseDao.deleteAll(); |
|
|
int i = baseDao.deleteAll(); |
|
|
|
|
|
if (i >= 0) { |
|
|
dto.setPageNo(NumConstant.ONE); |
|
|
dto.setPageNo(NumConstant.ONE); |
|
|
dto.setPageSize(NumConstant.FIFTY); |
|
|
dto.setPageSize(NumConstant.FIFTY); |
|
|
dto.setTableSchema(CaWghDataConstant.TABLESCHEMA_UNICOM); |
|
|
dto.setTableSchema(CaWghDataConstant.TABLESCHEMA_UNICOM); |
|
|
dto.setTableName(CaWghDataConstant.UNICOM_LOUDONG); |
|
|
dto.setTableName(CaWghDataConstant.UNICOM_LOUDONG); |
|
|
|
|
|
|
|
|
dto.setWhereCase("delete_flag = 'normal'"); |
|
|
dto.setWhereCase("delete_flag = 'normal'"); |
|
|
dto.setOrderBy("grid_id,update_date desc"); |
|
|
dto.setOrderBy("grid_id,update_date,building_id desc"); |
|
|
|
|
|
|
|
|
int pageNo = 1; |
|
|
int pageNo = 1; |
|
|
|
|
|
|
|
@ -159,6 +160,8 @@ public class CaLoudongServiceImpl extends BaseServiceImpl<CaLoudongDao, CaLoudon |
|
|
} while (total > (pageNo * NumConstant.FIFTY)); |
|
|
} while (total > (pageNo * NumConstant.FIFTY)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private int listLouDong(PreserVationFormDTO dto) throws Exception { |
|
|
private int listLouDong(PreserVationFormDTO dto) throws Exception { |
|
|
String aes = AesUtils.encryptByAES(JSONObject.toJSONString(dto), CaWghDataConstant.AESKEY); |
|
|
String aes = AesUtils.encryptByAES(JSONObject.toJSONString(dto), CaWghDataConstant.AESKEY); |
|
|