1.添加用户投诉岗位
2.管理员对企业和岗位下架
This commit is contained in:
@@ -37,6 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="legalPerson" column="legal_person" />
|
||||
<result property="legalIdCard" column="legal_id_card" />
|
||||
<result property="legalPhone" column="legal_phone" />
|
||||
<result property="companyStatus" column="company_status" />
|
||||
|
||||
</resultMap>
|
||||
|
||||
@@ -166,4 +167,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
select a.* from COMPANY a inner join job b on a.company_id=b.company_id and b.job_id=#{jobId} limit 1
|
||||
</select>
|
||||
|
||||
<update id="updateStatus" parameterType="Company">
|
||||
update COMPANY set company_status=#{companyStatus},update_time=#{updateTime},update_by=#{updateBy} where company_id=#{companyId} and del_flag='0'
|
||||
</update>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user