Commit 1abb1f6d by qwmqiuwenmin

fix

parent dcaafc0b
......@@ -260,7 +260,10 @@ public class ClerkController extends WebBaseController{
if(staff != null) {
return resultResponse(HaoBanErrCode.ERR_10005);
}
syncHaobanToGicServiceApi.syncClerkToGicClerkAdd(storeId, clerkCode, sex, staffName, phoneNumber, nationcode, postion);
boolean flag = syncHaobanToGicServiceApi.syncClerkToGicClerkAdd(storeId, clerkCode, sex, staffName, phoneNumber, nationcode, postion);
if(!flag){
return resultResponse(HaoBanErrCode.ERR_10010);
}
return resultResponse(HaoBanErrCode.ERR_1);
}
......
......@@ -192,6 +192,7 @@ public enum HaoBanErrCode {
ERR_10007(10007,"本月已经设置过主导购"),
ERR_10009(10009,"门店不存在"),
ERR_10010(10010,"gic新增失败"),
ERR_999(999, "部门操作失败"),
ERR_DEFINE(-888, "自定义错误"),
......
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