Commit c8d0116c by 陶光胜

通过电话号码查询商户

parent 6c627090
......@@ -179,7 +179,7 @@
</update>
<update id="updateAuthorizationStatus" >
update tab_sys_union_enterprise_resource
set authorization_status=#{authOrizationStatus},authorization_time=now(),authorization_message=#{authOrizationMessage}, key=#{key}
set authorization_status=#{authOrizationStatus},authorization_time=now(),authorization_message=#{authOrizationMessage}, auth_key=#{key}
where enterprise_id= #{enterpriseId} and resource_type=#{resourceType} and status = 1
</update>
<select id="listResourceByEnterpriseIdAndType" resultType="com.gic.auth.dto.UnionEnterpriseResourceDTO">
......@@ -205,7 +205,7 @@
</update>
<select id="getKeyByResourceId" resultMap="BaseResultMap">
select
key
auth_key
from tab_sys_union_enterprise_resource
where resource=#{resourceId}
and status = 1
......
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