Commit 4f5b90da authored by liqin's avatar liqin 💬

Merge branch 'master' of http://111.203.232.171:8888/lee/chnmuseum-party into master

parents aed813dc c67ca9e7
...@@ -733,12 +733,12 @@ public class TUserController extends BaseController { ...@@ -733,12 +733,12 @@ public class TUserController extends BaseController {
user.setType("4"); user.setType("4");
boolean ret = this.userService.save(user); boolean ret = this.userService.save(user);
//
TUserRole userRole = new TUserRole(); // TUserRole userRole = new TUserRole();
userRole.setUserId(user.getId()); // userRole.setUserId(user.getId());
userRole.setRoleId("4"); // userRole.setRoleId("4");
userRole.setIsDeleted(false); // userRole.setIsDeleted(false);
tUserRoleService.save(userRole); // tUserRoleService.save(userRole);
if (!ret) { if (!ret) {
// 新增失败, 500 // 新增失败, 500
......
...@@ -60,9 +60,10 @@ ...@@ -60,9 +60,10 @@
</select> </select>
<select id="selectPageList" resultMap="BaseResultMap"> <select id="selectPageList" resultMap="BaseResultMap">
SELECT b.id,b.organ_id,b.mac,b.status,b.area_id,b.create_time,b.update_time,r.`name` organ_name SELECT b.id,b.organ_id,b.mac,b.status,b.area_id,b.create_time,b.update_time,u.user_name organ_name
FROM t_box_operation b FROM t_box_operation b
left join t_organ r on r.id = b.organ_id left join t_organ r on r.id = b.organ_id
left join t_user u on u.org_id = b.organ_id and u.type = '3'
where 1=1 where 1=1
<if test="tBoxOperation.organId != null and tBoxOperation.organId != '' "> <if test="tBoxOperation.organId != null and tBoxOperation.organId != '' ">
and b.organ_id =#{tBoxOperation.organId} and b.organ_id =#{tBoxOperation.organId}
......
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