Commit e225d9bc by fudahua

绑定的staff信息

parent 03fb5cc8
...@@ -324,11 +324,13 @@ public class StaffController extends WebBaseController{ ...@@ -324,11 +324,13 @@ public class StaffController extends WebBaseController{
StaffDTO staffDTO = staffApiService.selectById(hasRelationClerkIds.get(clerkInfoVo.getClerkId()).getStaffId()); StaffDTO staffDTO = staffApiService.selectById(hasRelationClerkIds.get(clerkInfoVo.getClerkId()).getStaffId());
if (staffDTO !=null) { if (staffDTO !=null) {
clerkInfoVo.setStaffName(staffDTO.getStaffName()); clerkInfoVo.setStaffName(staffDTO.getStaffName());
clerkInfoVo.setStaffId(staffDTO.getStaffId());
} }
} }
StoreDTO store = storeService.getStore(clerkInfoVo.getStoreId()); StoreDTO store = storeService.getStore(clerkInfoVo.getStoreId());
if (null != store) { if (null != store) {
clerkInfoVo.setStoreName(store.getStoreName()); clerkInfoVo.setStoreName(store.getStoreName());
} }
}); });
......
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