狩猎人员新增字段

develop
hanrenchun 10 months ago
parent ce687ed6fb
commit 3e6610419e

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

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

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

Loading…
Cancel
Save