feat():加字段

master
jiyufei 2 months ago
parent 785a67489e
commit 56afb9a1c1

@ -343,6 +343,9 @@ public class YysUnitInformationServiceImpl extends ServiceImpl<YysUnitInformatio
entity.setUnitId(sync.getCComunitCode()); entity.setUnitId(sync.getCComunitCode());
entity.setUnitName(sync.getCComUnitName()); entity.setUnitName(sync.getCComUnitName());
entity.setGroupCode(sync.getCGroupCode()); entity.setGroupCode(sync.getCGroupCode());
entity.setMainUnit(sync.getBMainUnit());
entity.setChangRate(sync.getIChangRate());
entity.setIsNumber(sync.getINumber());
if (MapUtils.isNotEmpty(collect) && collect.containsKey(entity.getGroupCode())) { if (MapUtils.isNotEmpty(collect) && collect.containsKey(entity.getGroupCode())) {
entity.setGroupName(collect.get(entity.getGroupCode())); entity.setGroupName(collect.get(entity.getGroupCode()));
} }

@ -2,10 +2,10 @@ package jnpf.entity;
import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.annotation.*;
import lombok.Data; import lombok.Data;
import java.util.Date; import java.util.Date;
/** /**
*
*
* @ V3.5 * @ V3.5
* @ https://www.jnpfsoft.com * @ https://www.jnpfsoft.com
* @ JNPF * @ JNPF
@ -26,6 +26,12 @@ public class YysUnitInformationEntity {
private String groupName; private String groupName;
@TableField(value = "ENABLE_STATUS", updateStrategy = FieldStrategy.IGNORED) @TableField(value = "ENABLE_STATUS", updateStrategy = FieldStrategy.IGNORED)
private String enableStatus; private String enableStatus;
@TableField(value = "MAIN_UNIT", updateStrategy = FieldStrategy.IGNORED)
private String mainUnit;
@TableField(value = "CHANGE_RATE", updateStrategy = FieldStrategy.IGNORED)
private String changRate;
@TableField(value = "IS_NUMBER", updateStrategy = FieldStrategy.IGNORED)
private String isNumber;
@TableField("REAMRK") @TableField("REAMRK")
private String reamrk; private String reamrk;
@TableField("F_CREATOR_TIME") @TableField("F_CREATOR_TIME")

@ -16,4 +16,19 @@ public class UnitInfoSync {
* *
*/ */
private String cGroupCode; private String cGroupCode;
/**
*
*/
private String bMainUnit;
/**
*
*/
private String iChangRate;
/**
*
*/
private String iNumber;
} }

Loading…
Cancel
Save