Commit 2a569516 by 陶光胜

Merge branch 'developer' into 'master'

Developer

See merge request !41
parents 8772beae ebd6d85d
......@@ -244,7 +244,7 @@ public class ClerkController extends DownloadUtils {
}
clerkDTO.setOperatorId(UserDetailUtils.getUserDetail().getUserId());
clerkDTO.setOperatorName(UserDetailUtils.getUserDetail().getUserInfo().getUserName());
if (!com.gic.store.constant.Constants.CLERK_LEADER_POSITION_ID.equals(clerkQO.getPositionId())) {
if (clerkQO.getClerkId() != null && !com.gic.store.constant.Constants.CLERK_LEADER_POSITION_ID.equals(clerkQO.getPositionId())) {
// 如果门店下只有一个导购 就不能修改店长
List<ClerkDTO> dtoList = clerkApiService.listClerkByStoreInfoId(enterpriseId, clerkQO.getStoreInfoId(), null).getResult();
if (CollectionUtils.isNotEmpty(dtoList) && dtoList.size() == 1) {
......
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