数据推送来源枚举
This commit is contained in:
parent
bca10e8978
commit
37b9d20faa
|
|
@ -42,9 +42,10 @@ public class PushSettingItemSaveParam {
|
|||
|
||||
/**
|
||||
* 项目类型
|
||||
* @see SalarySQLReferenceEnum
|
||||
*/
|
||||
@DataCheck(require = true, message = "数据来源")
|
||||
private SalarySQLReferenceEnum source;
|
||||
private String source;
|
||||
|
||||
/**
|
||||
* 数据库字段
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ public class PushServiceImpl extends Service implements PushService {
|
|||
.settingId(param.getSettingId())
|
||||
.item(param.getItem())
|
||||
.itemName(param.getItemName())
|
||||
.source(param.getSource().getValue())
|
||||
.source(param.getSource())
|
||||
.fieldName(param.getFieldName())
|
||||
.fieldType(param.getFieldType().getValue())
|
||||
.creator((long) user.getUID())
|
||||
|
|
@ -153,7 +153,7 @@ public class PushServiceImpl extends Service implements PushService {
|
|||
po.setSettingId(param.getSettingId());
|
||||
po.setItem(param.getItem());
|
||||
po.setItemName(param.getItemName());
|
||||
po.setSource(param.getSource().getValue());
|
||||
po.setSource(param.getSource());
|
||||
po.setFieldName(param.getFieldName());
|
||||
po.setFieldType(param.getFieldType().getValue());
|
||||
po.setUpdateTime(now);
|
||||
|
|
|
|||
Loading…
Reference in New Issue