Commit ea841bf1 by xiaoyj

提交代码新建商户 create by xiaoyj 2018/4/26

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@21238 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 6b574fe3
......@@ -1003,13 +1003,12 @@
</select>
<update id="updateOrdersBindShop" parameterType="com.glsx.ordercenter.pojo.SysOrder">
UPDATE sys_order so
LEFT JOIN sys_user su ON so.shop_id = su.id
LEFT JOIN sys_channel_org sco ON su.group_id = sco.orgId AND sco.channel = #{channel}
LEFT JOIN sys_user su ON so.shop_id = su.id
LEFT JOIN sys_channel_org sco ON su.group_id = sco.orgId AND sco.channel = #{channel}
SET so.shop_id = #{shopId},so.service_type=#{serviceType}
WHERE
so.active_status = 1
AND so.canceled = 1
AND sco.channel = #{channel}
AND so.merchant_name = #{merchantName} AND so.channel=#{channel}
</update>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!