From 2a0e19004847de2bdf7f1ea356046f6733264b87 Mon Sep 17 00:00:00 2001 From: laishajiang <12977614+laishajiang@user.noreply.gitee.com> Date: Mon, 18 Mar 2024 11:14:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=80=BC=E7=8F=AD=E7=AE=A1=E7=90=86=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E6=9C=BA=E6=9E=84=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/biutag/lan/service/impl/DutyServiceImpl.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mailbox-lan/src/main/java/com/biutag/lan/service/impl/DutyServiceImpl.java b/mailbox-lan/src/main/java/com/biutag/lan/service/impl/DutyServiceImpl.java index d04f120..86bce05 100644 --- a/mailbox-lan/src/main/java/com/biutag/lan/service/impl/DutyServiceImpl.java +++ b/mailbox-lan/src/main/java/com/biutag/lan/service/impl/DutyServiceImpl.java @@ -252,7 +252,14 @@ public class DutyServiceImpl implements IDutyService { model.setDepartId(updateValidate.getDepartId()); Dept dept = deptMapper.selectById(updateValidate.getDepartId()); model.setDepartName(dept.getFullName()); - // model.setDepartName(updateValidate.getDepartName()); + model.setDeptType(updateValidate.getDeptType()); + DictData dictData = dictDataMapper.selectOne(new QueryWrapper() + .select("id,type_id,name,value,remark,sort,status,create_time,update_time") + .eq("type_id", AppConstants.DEPT_TYPE_CATEGORY)//机构类型 + .eq("is_delete", 0) + .eq("value",updateValidate.getDeptType()) + .last("limit 1")); + model.setTypeName(dictData.getName()); model.setPoliceName(updateValidate.getPoliceName()); model.setMobile(updateValidate.getMobile()); // model.setRoleId(updateValidate.getRoleId());