|
|
|
@ -8,6 +8,7 @@ import com.kiisoo.ic.employee.service.EmployeeService;
|
|
|
|
|
import com.kiisoo.ic.store.entity.PoiStoreStaff;
|
|
|
|
|
import com.kiisoo.ic.store.entity.PoiStoreStaffVO;
|
|
|
|
|
import com.kiisoo.ic.store.service.PoiStoreStaffService;
|
|
|
|
|
import com.kiisoo.ic.store.service.StoreEmployeeService;
|
|
|
|
|
import com.kiisoo.ic.system.bean.ImportAccountErrorBean;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
@ -32,6 +33,8 @@ public class StoreStaffController extends BaseController {
|
|
|
|
|
@Autowired
|
|
|
|
|
private PoiStoreStaffService poiStoreStaffService;
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
private StoreEmployeeService storeEmployeeService;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询店铺人员列表
|
|
|
|
@ -176,6 +179,21 @@ public class StoreStaffController extends BaseController {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 作废二维码
|
|
|
|
|
* @author dexiang.jiang
|
|
|
|
|
* @date 2020/05/19 19:24
|
|
|
|
|
*/
|
|
|
|
|
@RequestMapping(value = "/cancel/qrcode",method = RequestMethod.POST)
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public Map<String, Object> cancelQrCode(@RequestParam("cpUserId") String cpUserId, @RequestParam("state") String state) {
|
|
|
|
|
try {
|
|
|
|
|
boolean b = storeEmployeeService.cancelQrCodeFromBSD(cpUserId,state);
|
|
|
|
|
return data(b);
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
log.error("作废二维码", e);
|
|
|
|
|
return fail();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|