企业用户返回审核状态、驳回原因、驳回时间等。

This commit is contained in:
sh
2025-10-15 10:35:54 +08:00
parent 32424bc404
commit 64e991155d
2 changed files with 6 additions and 1 deletions

View File

@@ -101,4 +101,8 @@ public class Company extends BaseEntity
@ApiModelProperty("是否异常")
private String isAbnormal;
@TableField(exist = false)
@ApiModelProperty("驳回时间")
private String rejectTime;
}

View File

@@ -34,7 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<sql id="selectCompanyVo">
select company_id, name, location, industry, scale, del_flag, create_by, create_time, update_by, update_time, remark,code,description,nature,total_recruitment,registered_address,contact_person,contact_person_phone,is_abnormal from company
select company_id, name, location, industry, scale, del_flag, create_by, create_time, update_by, update_time, remark,code,description,nature,total_recruitment,registered_address,contact_person,contact_person_phone,is_abnormal,not_pass_reason,status,case when status='2' then update_time else null end reject_time from company
</sql>
<insert id="batchInsert" parameterType="java.util.List">
INSERT INTO company (
@@ -67,6 +67,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="scale != null and scale != ''"> and scale = #{scale}</if>
<if test="nature != null and nature != ''"> and nature = #{nature}</if>
<if test="code != null and code != ''"> and code = #{code}</if>
<if test="status != null and status != ''"> and status = #{status}</if>
</where>
</select>
<select id="label" resultMap="CompanyResult">