狩猎人员新增字段

develop
hanrenchun 10 months ago
parent ce687ed6fb
commit 3e6610419e

@ -50,6 +50,8 @@ public class MetaHuntersInfo {
@TableField(condition = SqlCondition.LIKE_RIGHT)
private String idCard;
private Integer huntersUserType;
/**
*
*/

@ -72,6 +72,7 @@ public class SlryOracleTask {
metaHuntersInfo.setSex(NumKit.checkInt(slry.getXB()));
metaHuntersInfo.setPhone(slry.getSJHM());
metaHuntersInfo.setIdCard(slry.getZJHM());
metaHuntersInfo.setHuntersUserType(Integer.parseInt(slry.getZDRYLBBJ()));
metaHuntersInfo.setHouseHoldRegister(slry.getHJDQH());
metaHuntersInfo.setHouseHoldAddress(slry.getHJDXZ());
metaHuntersInfo.setHabitationAddress(slry.getXZDXZ());

@ -142,7 +142,7 @@ public class TMotorvehicleTask {
LambdaQueryWrapper<TransitVehicleRecord> deleteWrapper = Wrappers.lambdaQuery();
deleteWrapper.le(TransitVehicleRecord::getPartitionField, twoDaysAgo);
// int countTM = vehicleRecordervice.count(deleteWrapper);
boolean result = vehicleRecordService.remove(deleteWrapper);
boolean result = vehicleRecordService.remove(deleteWrapper.last("LIMIT 10000"));
if (result) {
System.out.println("删除成功! ");

Loading…
Cancel
Save