Compare commits
No commits in common. "dev" and "master" have entirely different histories.
|
|
@ -251,7 +251,7 @@ public class InController extends Controller implements Runnable {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 巴河进料需要减两吨
|
// 巴河进料需要减两吨
|
||||||
if ((CliCacheData.SUP.getId() == 4 || CliCacheData.SUP.getId() == 5) && weight > 35){
|
if (CliCacheData.SUP.getId() == 4 && weight > 35){
|
||||||
weight -= 2;
|
weight -= 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -251,10 +251,6 @@ public class SysuserSyncService extends BaseService {
|
||||||
return Result.failed(false, "登陆失败");
|
return Result.failed(false, "登陆失败");
|
||||||
}
|
}
|
||||||
|
|
||||||
if(sysuser.getType() == UserTypeEnum.LEAD.getTypeid()){
|
|
||||||
return Result.failedstr("登陆失败。当前用户是公司管理员,请登陆结算中心系统");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (sysuser.getType() == UserTypeEnum.SUPERMARKET.getTypeid() && sysuser.getEntityId() != CliCacheData.SUP.getId()) {
|
if (sysuser.getType() == UserTypeEnum.SUPERMARKET.getTypeid() && sysuser.getEntityId() != CliCacheData.SUP.getId()) {
|
||||||
return Result.failedstr("登陆失败。当前系统是%s", CliCacheData.SUP.getName());
|
return Result.failedstr("登陆失败。当前系统是%s", CliCacheData.SUP.getName());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue