add: 政策课题模块增删改查修改

This commit is contained in:
wxyclub
2023-10-18 15:15:10 +08:00
parent 4621286ca5
commit ffefa7fcde
5 changed files with 18 additions and 17 deletions
@@ -51,14 +51,14 @@ public class SarLawsTopic implements Serializable {
/** /**
* 开始时间 * 开始时间
*/ */
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
@TableField(value = "START_TIME") @TableField(value = "START_TIME")
private Date startTime; private Date startTime;
/** /**
* 结题时间 * 结题时间
*/ */
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
@TableField(value = "CLOSE_TIME") @TableField(value = "CLOSE_TIME")
private Date closeTime; private Date closeTime;
@@ -38,9 +38,8 @@ public class SarLawsTopicMeeting implements Serializable {
/** /**
* 会议时间 * 会议时间
*/ */
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
@TableField(value = "MEETING_TIME") @TableField(value = "MEETING_TIME")
private Date meetingTime; private String meetingTime;
/** /**
* 会议地点 * 会议地点
@@ -5,6 +5,7 @@ import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors; import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
@@ -46,13 +47,15 @@ public class SarLawsTopicVO extends BasePage {
/** /**
* 开始时间 * 开始时间
*/ */
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern = "yyyy-MM-dd")
private Date startTime; private Date startTime;
/** /**
* 结题时间 * 结题时间
*/ */
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern = "yyyy-MM-dd")
private Date closeTime; private Date closeTime;
/** /**
@@ -83,8 +86,7 @@ public class SarLawsTopicVO extends BasePage {
/** /**
* 会议时间 * 会议时间
*/ */
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") private String meetingTime;
private Date meetingTime;
/** /**
* 会议地点 * 会议地点
@@ -10,8 +10,8 @@
<result property="organizer" column="ORGANIZER" jdbcType="VARCHAR"/> <result property="organizer" column="ORGANIZER" jdbcType="VARCHAR"/>
<result property="guidanceUnit" column="GUIDANCE_UNIT" jdbcType="VARCHAR"/> <result property="guidanceUnit" column="GUIDANCE_UNIT" jdbcType="VARCHAR"/>
<result property="participatingUnit" column="PARTICIPATING_UNIT" jdbcType="VARCHAR"/> <result property="participatingUnit" column="PARTICIPATING_UNIT" jdbcType="VARCHAR"/>
<result property="startTime" column="START_TIME" jdbcType="TIMESTAMP"/> <result property="startTime" column="START_TIME" jdbcType="DATE"/>
<result property="closeTime" column="CLOSE_TIME" jdbcType="TIMESTAMP"/> <result property="closeTime" column="CLOSE_TIME" jdbcType="DATE"/>
<result property="topicStatus" column="TOPIC_STATUS" jdbcType="VARCHAR"/> <result property="topicStatus" column="TOPIC_STATUS" jdbcType="VARCHAR"/>
<result property="topicCost" column="TOPIC_COST" jdbcType="VARCHAR"/> <result property="topicCost" column="TOPIC_COST" jdbcType="VARCHAR"/>
<result property="agreement" column="AGREEMENT" jdbcType="VARCHAR"/> <result property="agreement" column="AGREEMENT" jdbcType="VARCHAR"/>
@@ -28,8 +28,8 @@
<result property="createTime" column="CREATE_TIME" jdbcType="TIMESTAMP"/> <result property="createTime" column="CREATE_TIME" jdbcType="TIMESTAMP"/>
<result property="modifyTime" column="MODIFY_TIME" jdbcType="TIMESTAMP"/> <result property="modifyTime" column="MODIFY_TIME" jdbcType="TIMESTAMP"/>
<collection property="meetingList" ofType="com.adc.da.slrs.sarLawsTopic.entity.SarLawsTopicMeeting"> <collection property="meetingList" ofType="com.adc.da.slrs.sarLawsTopic.entity.SarLawsTopicMeeting">
<id property="id" column="ID" jdbcType="VARCHAR"/> <id property="id" column="sltmId" jdbcType="VARCHAR"/>
<result property="lawsTopicId" column="LAWS_TOPIC_ID"/> <result property="lawsTopicId" column="sltmLawsTopicId"/>
<result property="meetingName" column="MEETING_NAME"/> <result property="meetingName" column="MEETING_NAME"/>
<result property="meetingTime" column="MEETING_TIME"/> <result property="meetingTime" column="MEETING_TIME"/>
<result property="meetingAddress" column="MEETING_ADDRESS"/> <result property="meetingAddress" column="MEETING_ADDRESS"/>
@@ -71,8 +71,8 @@
slt.ID,slt.TOPIC_NAME,slt.ORGANIZER, slt.ID,slt.TOPIC_NAME,slt.ORGANIZER,
slt.GUIDANCE_UNIT,slt.PARTICIPATING_UNIT,slt.START_TIME, slt.GUIDANCE_UNIT,slt.PARTICIPATING_UNIT,slt.START_TIME,
slt.CLOSE_TIME,slt.TOPIC_STATUS,slt.TOPIC_COST,slt.AGREEMENT, slt.CLOSE_TIME,slt.TOPIC_STATUS,slt.TOPIC_COST,slt.AGREEMENT,
sltm.ID, sltm.ID as sltmId,
sltm.LAWS_TOPIC_ID, sltm.LAWS_TOPIC_ID as sltmLawsTopicId,
sltm.MEETING_NAME, sltm.MEETING_NAME,
sltm.MEETING_TIME, sltm.MEETING_TIME,
sltm.MEETING_ADDRESS, sltm.MEETING_ADDRESS,
@@ -114,10 +114,10 @@
<if test="participatingUnit != null and participatingUnit != ''" > <if test="participatingUnit != null and participatingUnit != ''" >
and PARTICIPATING_UNIT like concat('%',#{participatingUnit},'%') and PARTICIPATING_UNIT like concat('%',#{participatingUnit},'%')
</if> </if>
<if test="startTime != null and startTime !=''"> <if test="startTime != null">
and START_TIME ${startTimeOperator} #{startTime} and START_TIME ${startTimeOperator} #{startTime}
</if> </if>
<if test="closeTime != null and closeTime !=''"> <if test="closeTime != null">
and CLOSE_TIME ${startTimeOperator} #{closeTime} and CLOSE_TIME ${startTimeOperator} #{closeTime}
</if> </if>
<if test="topicStatus != null and topicStatus != ''" > <if test="topicStatus != null and topicStatus != ''" >
@@ -8,7 +8,7 @@
<id property="id" column="ID" jdbcType="VARCHAR"/> <id property="id" column="ID" jdbcType="VARCHAR"/>
<result property="lawsTopicId" column="LAWS_TOPIC_ID" jdbcType="VARCHAR"/> <result property="lawsTopicId" column="LAWS_TOPIC_ID" jdbcType="VARCHAR"/>
<result property="meetingName" column="MEETING_NAME" jdbcType="VARCHAR"/> <result property="meetingName" column="MEETING_NAME" jdbcType="VARCHAR"/>
<result property="meetingTime" column="MEETING_TIME" jdbcType="TIMESTAMP"/> <result property="meetingTime" column="MEETING_TIME" jdbcType="VARCHAR"/>
<result property="meetingAddress" column="MEETING_ADDRESS" jdbcType="VARCHAR"/> <result property="meetingAddress" column="MEETING_ADDRESS" jdbcType="VARCHAR"/>
<result property="participants" column="PARTICIPANTS" jdbcType="VARCHAR"/> <result property="participants" column="PARTICIPANTS" jdbcType="VARCHAR"/>
<result property="meetingContent" column="MEETING_CONTENT" jdbcType="VARCHAR"/> <result property="meetingContent" column="MEETING_CONTENT" jdbcType="VARCHAR"/>