Commit 276d90c6 by 陶光胜

门店控件增加接口

parent f9ac815f
......@@ -244,7 +244,7 @@
and t1.store_info_id=t2.store_info_id
</update>
<update id="refreshStoreIndexByStoreGroup">
update tab_store t1,tab_store_info t2 set t2.index_id=t2.index_id + 1,t2.update_time=t2.update_time
update tab_store t1,tab_store_info t2 set t2.index_id=IFNULL(t2.index_id,0) + 1,t2.update_time=t2.update_time
where t1.enterprise_id=#{enterpriseId}
and t1.store_group_id=#{storeGroupId}
and t1.store_info_id=t2.store_info_id
......
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