parent
4703b26ede
commit
5ccff0ef78
@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="au.com.royalpay.payment.manage.mappers.system.ClientComplianceCompanyMapper">
|
||||
<select id="findFileByClientAndType" resultType="com.alibaba.fastjson.JSONObject">
|
||||
select * from sys_files
|
||||
where client_id = #{client_id}
|
||||
and file_name = #{file_name}
|
||||
and status = 1
|
||||
and is_valid = 1
|
||||
order by last_update_date desc
|
||||
</select>
|
||||
<update id="confirmAgreeFile">
|
||||
update sys_files
|
||||
set state = 2
|
||||
where file_name = 'source_agree_file'
|
||||
and client_id = #{client_id}
|
||||
</update>
|
||||
</mapper>
|
Loading…
Reference in new issue