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