Commit e3b6a677 authored by liuxun's avatar liuxun

merge

parent 48ece297
...@@ -4,7 +4,9 @@ import com.baomidou.mybatisplus.annotation.IdType; ...@@ -4,7 +4,9 @@ import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence; import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data; import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable; import java.io.Serializable;
import java.util.Date; import java.util.Date;
...@@ -42,6 +44,8 @@ public class ChAprOrgan implements Serializable { ...@@ -42,6 +44,8 @@ public class ChAprOrgan implements Serializable {
/** /**
* 创建时间 * 创建时间
*/ */
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
private Date effTime; private Date effTime;
/** /**
...@@ -52,11 +56,15 @@ public class ChAprOrgan implements Serializable { ...@@ -52,11 +56,15 @@ public class ChAprOrgan implements Serializable {
/** /**
* 终止时间 * 终止时间
*/ */
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
private Date endTime; private Date endTime;
/** /**
* 首次操作时间 * 首次操作时间
*/ */
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
private Date fcd; private Date fcd;
/** /**
...@@ -67,6 +75,8 @@ public class ChAprOrgan implements Serializable { ...@@ -67,6 +75,8 @@ public class ChAprOrgan implements Serializable {
/** /**
* 末次操作时间 * 末次操作时间
*/ */
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
private Date lcd; private Date lcd;
/** /**
...@@ -259,6 +269,8 @@ public class ChAprOrgan implements Serializable { ...@@ -259,6 +269,8 @@ public class ChAprOrgan implements Serializable {
/** /**
* 审核时间(长护) * 审核时间(长护)
*/ */
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
private Date checkTimeCh; private Date checkTimeCh;
/** /**
...@@ -279,6 +291,8 @@ public class ChAprOrgan implements Serializable { ...@@ -279,6 +291,8 @@ public class ChAprOrgan implements Serializable {
/** /**
* 审核时间(理赔) * 审核时间(理赔)
*/ */
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
private Date checkTimeLp; private Date checkTimeLp;
/** /**
...@@ -287,4 +301,4 @@ public class ChAprOrgan implements Serializable { ...@@ -287,4 +301,4 @@ public class ChAprOrgan implements Serializable {
private Short checkStatusLp; private Short checkStatusLp;
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
} }
\ No newline at end of file
...@@ -73,10 +73,6 @@ public class AprOrganServiceImpl extends ServiceImpl<AprOrganMapper, ChAprOrgan> ...@@ -73,10 +73,6 @@ public class AprOrganServiceImpl extends ServiceImpl<AprOrganMapper, ChAprOrgan>
if (chAprOrgan.getAprOrganId() == null) { if (chAprOrgan.getAprOrganId() == null) {
//新增 //新增
chAprOrgan.setEffTime(new Date()); chAprOrgan.setEffTime(new Date());
chAprOrgan.setEndTime(new Date());
chAprOrgan.setLcd(new Date());
chAprOrgan.setCheckTimeCh(new Date());
chAprOrgan.setCheckTimeLp(new Date());
chAprOrgan.setStatus((short) 0); chAprOrgan.setStatus((short) 0);
aprOrganMapper.insert(chAprOrgan); aprOrganMapper.insert(chAprOrgan);
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment