no message
This commit is contained in:
@ -292,6 +292,7 @@ public class ReceiveServiceImpl implements ReceiveService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Map<String, String> recceiveStoreInfo(String request) {
|
public Map<String, String> recceiveStoreInfo(String request) {
|
||||||
|
log.info("接收门店数据:", request);
|
||||||
SyncRequest<StoreInfo> syncRequest = JSON.parseObject(request, SyncRequest.class);
|
SyncRequest<StoreInfo> syncRequest = JSON.parseObject(request, SyncRequest.class);
|
||||||
Map<String, String> map = new HashMap<>();
|
Map<String, String> map = new HashMap<>();
|
||||||
if(!syncRequest.getAppid().equals(appId)||!syncRequest.getAccessToken().equals(accessToken)){
|
if(!syncRequest.getAppid().equals(appId)||!syncRequest.getAccessToken().equals(accessToken)){
|
||||||
|
|||||||
@ -97,8 +97,8 @@
|
|||||||
<if test="longitude != null">
|
<if test="longitude != null">
|
||||||
longitude = #{longitude},
|
longitude = #{longitude},
|
||||||
</if>
|
</if>
|
||||||
<if test="isDelete != null">
|
<if test="is_delete != null">
|
||||||
del_flag = #{isDelete},
|
del_flag = #{is_delete},
|
||||||
</if>
|
</if>
|
||||||
<if test="bpStoreId != null">
|
<if test="bpStoreId != null">
|
||||||
bp_store_id = #{bpStoreId},
|
bp_store_id = #{bpStoreId},
|
||||||
@ -120,8 +120,8 @@
|
|||||||
<if test="name != null and name != ''">
|
<if test="name != null and name != ''">
|
||||||
name = #{name},
|
name = #{name},
|
||||||
</if>
|
</if>
|
||||||
<if test="contactName != null and contactName != ''">
|
<if test="contact_name != null and contact_name != ''">
|
||||||
contact_person = #{contactName},
|
contact_person = #{contact_name},
|
||||||
</if>
|
</if>
|
||||||
<if test="phone != null and phone != ''">
|
<if test="phone != null and phone != ''">
|
||||||
phone = #{phone},
|
phone = #{phone},
|
||||||
@ -147,8 +147,8 @@
|
|||||||
<if test="longitude != null">
|
<if test="longitude != null">
|
||||||
longitude = #{longitude},
|
longitude = #{longitude},
|
||||||
</if>
|
</if>
|
||||||
<if test="isDelete != null">
|
<if test="is_delete != null">
|
||||||
del_flag = #{isDelete},
|
del_flag = #{is_delete},
|
||||||
</if>
|
</if>
|
||||||
</set>
|
</set>
|
||||||
WHERE bp_store_id = #{bpStoreId}
|
WHERE bp_store_id = #{bpStoreId}
|
||||||
@ -171,7 +171,7 @@
|
|||||||
bp_store_id
|
bp_store_id
|
||||||
) VALUES (
|
) VALUES (
|
||||||
#{name},
|
#{name},
|
||||||
#{contactName},
|
#{contact_name},
|
||||||
#{phone},
|
#{phone},
|
||||||
#{province},
|
#{province},
|
||||||
#{city},
|
#{city},
|
||||||
@ -180,7 +180,7 @@
|
|||||||
#{image},
|
#{image},
|
||||||
#{latitude},
|
#{latitude},
|
||||||
#{longitude},
|
#{longitude},
|
||||||
#{isDelete},
|
#{is_delete},
|
||||||
#{bpStoreId}
|
#{bpStoreId}
|
||||||
)
|
)
|
||||||
</insert>
|
</insert>
|
||||||
|
|||||||
Reference in New Issue
Block a user