外宿申请-监听器优化(流程找不到对应学院的负责人则选择对应角色的第一个作为负责人)
This commit is contained in:
@@ -15,7 +15,7 @@ import com.srs.common.core.domain.BaseEntity;
|
||||
* 外宿申请对象 dms_outside_accommodation_apply
|
||||
*
|
||||
* @author srs
|
||||
* @date 2025-12-06
|
||||
* @date 2025-12-09
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@@ -349,5 +349,13 @@ public class DmsOutsideAccommodationApply extends BaseEntity {
|
||||
@Excel(name = "外宿原因学生签名URL")
|
||||
private String studentSignature;
|
||||
|
||||
/**
|
||||
* 承诺内容
|
||||
*/
|
||||
@ApiModelProperty("承诺内容")
|
||||
@TableField("promise_content")
|
||||
@Excel(name = "承诺内容")
|
||||
private String promiseContent;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
<result property="idCard" column="idCard"/>
|
||||
<result property="studentPhone" column="studentPhone"/>
|
||||
<result property="studentSignature" column="student_signature"/>
|
||||
<result property="promiseContent" column="promise_content" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectDmsOutsideAccommodationApplyVo">
|
||||
@@ -95,7 +96,8 @@
|
||||
process_instance_id,
|
||||
idCard,
|
||||
studentPhone,
|
||||
student_signature
|
||||
student_signature,
|
||||
promise_content
|
||||
from dms_outside_accommodation_apply
|
||||
</sql>
|
||||
|
||||
@@ -250,6 +252,7 @@
|
||||
<if test="idCard != null and idCard != ''">idCard,</if>
|
||||
<if test="studentPhone != null">studentPhone,</if>
|
||||
<if test="studentSignature != null">student_signature,</if>
|
||||
<if test="promiseContent != null">promise_content,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="applyNo != null and applyNo != ''">#{applyNo},</if>
|
||||
@@ -295,6 +298,7 @@
|
||||
<if test="idCard != null and idCard != ''">#{idCard},</if>
|
||||
<if test="studentPhone != null">#{studentPhone},</if>
|
||||
<if test="studentSignature != null">#{studentSignature},</if>
|
||||
<if test="promiseContent != null">#{promiseContent},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
@@ -352,6 +356,7 @@
|
||||
<if test="idCard != null and idCard != ''">idCard = #{idCard},</if>
|
||||
<if test="studentPhone != null">studentPhone = #{studentPhone},</if>
|
||||
<if test="studentSignature != null">student_signature = #{studentSignature},</if>
|
||||
<if test="promiseContent != null">promise_content = #{promiseContent},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
Reference in New Issue
Block a user