Commit e484a7ec authored by 冷玲鹏's avatar 冷玲鹏

活动类+报名人数上限字段

修改了配置文件的本地上传路径
parent 44360aa5
...@@ -119,8 +119,8 @@ global: ...@@ -119,8 +119,8 @@ global:
path: path:
# base_upload_location: C:\software\nginx-1.26.2\html\upload # base_upload_location: C:\software\nginx-1.26.2\html\upload
# base_discovery: 'http://192.168.1.112:8023/upload/' # base_discovery: 'http://192.168.1.112:8023/upload/'
base_upload_location: D:\tool\nginx-1.26.2\html\upload base_upload_location: D:\Work\nginx-1.24.0\html\upload
base_discovery: 'http://192.168.0.173/upload/' base_discovery: 'http://192.168.1.45/upload/'
zsp_location: /zsp zsp_location: /zsp
code_generate_location: /code code_generate_location: /code
video_location: /video video_location: /video
......
...@@ -141,6 +141,14 @@ public class CmsActivity extends CyIdIncreEntity<CmsActivity> { ...@@ -141,6 +141,14 @@ public class CmsActivity extends CyIdIncreEntity<CmsActivity> {
@Excel(name = "报名人数") @Excel(name = "报名人数")
private String applicationCount; private String applicationCount;
/**
* @desc 报名人数上限
* @column maximum_application
* @default
*/
@Excel(name = "报名人数上限")
private String maxNumApplication;
/** /**
* @desc 报名所需费用 * @desc 报名所需费用
* @column application_fee * @column application_fee
...@@ -202,20 +210,27 @@ public class CmsActivity extends CyIdIncreEntity<CmsActivity> { ...@@ -202,20 +210,27 @@ public class CmsActivity extends CyIdIncreEntity<CmsActivity> {
@Excel(name = "是否需要实名认证") @Excel(name = "是否需要实名认证")
private Integer isAuthentication; private Integer isAuthentication;
/**
* @desc 是否会员
* @column s_need_member
* @default
*/
@Excel(name = "是否会员")
private Integer isNeedMember;
/** /**
* 开始时间 * 开始时间
* start_time * start_time
*/ */
@JsonIgnore @Excel(name = "开始时间")
@TableField(exist = false) @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
private Date startTime; private Date startTime;
/** /**
* 结束时间 * 结束时间
* end_time * end_time
*/ */
@JsonIgnore @Excel(name = "结束时间")
@TableField(exist = false) @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
private Date endTime; private Date endTime;
/* /*
*//** *//**
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
<result column="is_recommended" jdbcType="INTEGER" property="isRecommended"/> <result column="is_recommended" jdbcType="INTEGER" property="isRecommended"/>
<result column="is_application" jdbcType="INTEGER" property="isApplication"/> <result column="is_application" jdbcType="INTEGER" property="isApplication"/>
<result column="is_authentication" jdbcType="INTEGER" property="isAuthentication"/> <result column="is_authentication" jdbcType="INTEGER" property="isAuthentication"/>
<result column="is_need_member" jdbcType="INTEGER" property="isNeedMember"/>
<result column="start_time" jdbcType="DATE" property="startTime"/> <result column="start_time" jdbcType="DATE" property="startTime"/>
<result column="end_time" jdbcType="DATE" property="endTime"/> <result column="end_time" jdbcType="DATE" property="endTime"/>
</resultMap> </resultMap>
...@@ -77,6 +78,12 @@ ...@@ -77,6 +78,12 @@
<if test="entity.pictureId !=null and entity.pictureId != '' "> <if test="entity.pictureId !=null and entity.pictureId != '' ">
and picture_id = #{entity.pictureId} and picture_id = #{entity.pictureId}
</if> </if>
<if test="entity.startTime !=null and entity.startTime != '' ">
and start_time = #{entity.startTime}
</if>
<if test="entity.endTime !=null and entity.endTime != '' ">
and end_time = #{entity.endTime}
</if>
ORDER BY business_id DESC ORDER BY business_id DESC
</select> </select>
...@@ -150,12 +157,21 @@ ...@@ -150,12 +157,21 @@
<if test="entity.isAuthentication !=null and entity.isAuthentication != '' "> <if test="entity.isAuthentication !=null and entity.isAuthentication != '' ">
and is_authentication = #{entity.isAuthentication} and is_authentication = #{entity.isAuthentication}
</if> </if>
<if test="entity.isNeedMember !=null and entity.isNeedMember != '' ">
and is_need_member = #{entity.isNeedMember}
</if>
<if test="entity.isRecommended !=null and entity.isRecommended != '' "> <if test="entity.isRecommended !=null and entity.isRecommended != '' ">
and is_recommended = #{entity.isRecommended} and is_recommended = #{entity.isRecommended}
</if> </if>
<if test="entity.isTop !=null and entity.isTop != '' "> <if test="entity.isTop !=null and entity.isTop != '' ">
and is_top = #{entity.isTop} and is_top = #{entity.isTop}
</if> </if>
<if test="entity.startTime !=null and entity.startTime != '' ">
and start_time = #{entity.startTime}
</if>
<if test="entity.endTime !=null and entity.endTime != '' ">
and end_time = #{entity.endTime}
</if>
ORDER BY ca.publish_date DESC ORDER BY ca.publish_date DESC
</select> </select>
<update id="deleteCmsActivity" parameterType="java.lang.Integer"> <update id="deleteCmsActivity" parameterType="java.lang.Integer">
......
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