Commit f154deb2 by zhiwj

新增店长

parent 68f42799
...@@ -118,6 +118,7 @@ public class StoreController extends DownloadUtils { ...@@ -118,6 +118,7 @@ public class StoreController extends DownloadUtils {
@RequestMapping("/save-store") @RequestMapping("/save-store")
public RestResponse saveOrUpdate(@Validated({StoreQO.SaveValidView.class}) StoreQO storeQO, ClerkQO clerkQO) { public RestResponse saveOrUpdate(@Validated({StoreQO.SaveValidView.class}) StoreQO storeQO, ClerkQO clerkQO) {
logger.info("门店参数:{}", JSON.toJSONString(storeQO)); logger.info("门店参数:{}", JSON.toJSONString(storeQO));
logger.info("导购参数:{}", JSON.toJSONString(clerkQO));
Integer enterpriseId = UserDetailUtils.getUserDetail().getEnterpriseId(); Integer enterpriseId = UserDetailUtils.getUserDetail().getEnterpriseId();
StoreDTO storeDTO = EntityUtil.changeEntityByOrika(StoreDTO.class, storeQO); StoreDTO storeDTO = EntityUtil.changeEntityByOrika(StoreDTO.class, storeQO);
storeDTO.setEnterpriseId(enterpriseId); storeDTO.setEnterpriseId(enterpriseId);
......
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