Commit 331e5f29 by 徐高华

Merge branch 'xgh_内容中台' into 'developer'

Xgh 内容中台

See merge request !463
parents 838db471 b53ad583
......@@ -1724,7 +1724,7 @@ public class WxStaffController extends WebBaseController {
ClerkDTO clerk = this.clerkService.getclerkById(clerkId) ;
int clerkType = clerk.getClerkType() ;
List<ClerkListVO> resultList = null ;
if(clerkType != 0) {
if(clerkType == 0) {
return RestResponse.failure("-1", "非店长身份");
}
List<ClerkListDTO> clerkList = clerkService.getClerkByStoreId(enterpriseId, clerk.getStoreId());
......
......@@ -115,7 +115,7 @@ public class QwMessageController extends WebBaseController {
logger.info("clerkType={},ChooseAll={}",clerk.getClerkType(),qo.getChooseAll());
int clerkType = clerk.getClerkType() ;
if(clerkType==0) {
return RestResponse.failure("-1","非店长、区");
return RestResponse.failure("-1","非店长、区");
}
String chooseAll = qo.getChooseAll() ;
if(StringUtils.isBlank(chooseAll) || !"1".equals(chooseAll)) {
......
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