Commit 39505c95 by 罗承锋

查询督导错误修复

parent 99a6ca23
......@@ -244,8 +244,10 @@ public class PackageNewClothes {
order.setHehuorenSchool(school.getSchoolName());
order.setHehuorenPhone(sysUser.getPhone());
List<String> userId = appMapper.selectsupervisorBySchool(schoolId);
if (userId != null && userId.size() == 1) {
SysUser user = userMapper.selectById(userId.get(0));
order.setSupervisorName(user.getName());
}
order.setLzgh(school.getLzgh());
Integer insert = orderMapper.insert(order);
// MessageUtil.sent(contactNumber,"4","");
......
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