Commit 454329ca by zhiwj

好办导购

parent 1a0d2321
......@@ -29,6 +29,17 @@ public interface ClerkApiService {
*/
ServiceResponse<Void> saveOrUpdate(ClerkDTO clerkDTO);
/**
* 好办保存或编辑导购
* @Title: saveOrUpdateFromHaoban
* @Description:
* @author zhiwj
* @param clerkDTO
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
* @throws
*/
ServiceResponse<Void> saveOrUpdateFromHaoban(ClerkDTO clerkDTO);
/** @Description: 订单途经保存导购
* @author taogs
* @Date 19:52 2020/1/8
......
package com.gic.store.service.outer.impl;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.gic.api.base.commons.Page;
import com.gic.api.base.commons.ServiceResponse;
......@@ -165,6 +166,12 @@ public class ClerkApiServiceImpl implements ClerkApiService {
}
@Override
public ServiceResponse<Void> saveOrUpdateFromHaoban(ClerkDTO clerkDTO) {
logger.info("好办保存导购:{}", JSON.toJSONString(clerkDTO));
return this.saveOrUpdate(clerkDTO);
}
@Override
public ServiceResponse<Integer> saveClerkForOrder(String clerkName, String clerkCode, Integer storeInfoId,
Integer enterpriseId, String orderNum) {
// ServiceResponse<StoreDTO> storeResponse = storeApiService.getStoreById(enterpriseId, storeInfoId);
......
......@@ -620,7 +620,6 @@ public class StoreController extends DownloadUtils {
logger.info("transfer-store-member:{}", JSON.toJSONString(storeBatchUpdateDTO));
ServiceResponse<Void> response = this.storeUpdateApiService.storeBatchUpdate(storeBatchUpdateDTO);
logger.info("transfer-store-member-result:{}", JSON.toJSONString(response));
cacheMap.put(UserDetailUtils.getUserDetail().getEnterpriseId(), storeId);
for (String store : list) {
StoreDTO storeDTO = storeApiService.getStoreById(UserDetailUtils.getUserDetail().getEnterpriseId(), Integer.valueOf(store)).getResult();
......
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