Commit 57aeb283 by zhanghj

V1.3.1--修复修改用户bug

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@23186 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 2eab78be
......@@ -297,7 +297,7 @@ public class UserController extends BaseController {
return new ResultObject(ResultCodeEnum.SHOPNAME_REPETITION.getCode(), ResultCodeEnum.SHOPNAME_REPETITION.getMsg());
}
SysUser merchant = null;
if (merchants != null) {
if (merchants != null && merchants.size() == 1) {
merchant = merchants.get(0);
}
if (sysMerchant.getId() == null) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!