Browse Source

fix:[资源库管理][表单管理]状态图标

master
15881625488@163.com 3 months ago
parent
commit
e928def814
2 changed files with 12 additions and 12 deletions
  1. +11
    -11
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/ZcgServiceImpl.java
  2. +1
    -1
      hxhq-modules/hxhq-system/src/main/resources/mapper/business/StudyFormFillMapper.xml

+ 11
- 11
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/ZcgServiceImpl.java View File

@ -94,11 +94,11 @@ public class ZcgServiceImpl extends ServiceImpl implements IZcgS
throw new SecurityException("归还人2不存在"); throw new SecurityException("归还人2不存在");
} }
//验证接收人密码 //验证接收人密码
checkPassword(SecurityUtils.getLoginUser().getSysUser(),form.getJsrmm());
checkPassword(SecurityUtils.getLoginUser().getSysUser(),form.getJsrmm(),true);
//验证钥匙1归还人密码 //验证钥匙1归还人密码
checkPassword(ghr1,form.getGhr1mm());
checkPassword(ghr1,form.getGhr1mm(),true);
//验证钥匙2归还人密码 //验证钥匙2归还人密码
checkPassword(ghr2,form.getGhr2mm());
checkPassword(ghr2,form.getGhr2mm(),true);
if (form.getId() == null || form.getId().longValue() < 0) { if (form.getId() == null || form.getId().longValue() < 0) {
throw new SecurityException("参数id不正确"); throw new SecurityException("参数id不正确");
@ -139,11 +139,11 @@ public class ZcgServiceImpl extends ServiceImpl implements IZcgS
throw new SecurityException("归还人2不存在"); throw new SecurityException("归还人2不存在");
} }
//验证接收人密码 //验证接收人密码
checkPassword(SecurityUtils.getLoginUser().getSysUser(),form.getJsrmm());
checkPassword(SecurityUtils.getLoginUser().getSysUser(),form.getJsrmm(),true);
//验证钥匙1归还人密码 //验证钥匙1归还人密码
checkPassword(ghr1,form.getGhr1mm());
checkPassword(ghr1,form.getGhr1mm(),true);
//验证钥匙2归还人密码 //验证钥匙2归还人密码
checkPassword(ghr2,form.getGhr2mm());
checkPassword(ghr2,form.getGhr2mm(),true);
if (form.getIds().length<0) { if (form.getIds().length<0) {
throw new SecurityException("参数ids不正确"); throw new SecurityException("参数ids不正确");
} }
@ -189,11 +189,11 @@ public class ZcgServiceImpl extends ServiceImpl implements IZcgS
throw new SecurityException("领取人2不存在"); throw new SecurityException("领取人2不存在");
} }
//验证发放人密码 //验证发放人密码
checkPassword(SecurityUtils.getLoginUser().getSysUser(),form.getFfrmm());
checkPassword(SecurityUtils.getLoginUser().getSysUser(),form.getFfrmm(),true);
//验证钥匙1领取人密码 //验证钥匙1领取人密码
checkPassword(lqr1,form.getLqr1mm());
checkPassword(lqr1,form.getLqr1mm(),true);
//验证钥匙2领取人密码 //验证钥匙2领取人密码
checkPassword(lqr2,form.getLqr2mm());
checkPassword(lqr2,form.getLqr2mm(),true);
if (form.getId() == null || form.getId().longValue() < 0) { if (form.getId() == null || form.getId().longValue() < 0) {
throw new SecurityException("参数id不正确"); throw new SecurityException("参数id不正确");
} }
@ -225,11 +225,11 @@ public class ZcgServiceImpl extends ServiceImpl implements IZcgS
* @param user * @param user
* @param qmrmm * @param qmrmm
*/ */
public void checkPassword(SysUser user,String qmrmm){
public void checkPassword(SysUser user,String qmrmm,Boolean needName){
if(StringUtils.isBlank(qmrmm)){ if(StringUtils.isBlank(qmrmm)){
throw new ServiceException("签名密码不能为空"); throw new ServiceException("签名密码不能为空");
} }
sysUserService.checkPassword(user,qmrmm,false);
sysUserService.checkPassword(user,qmrmm,needName);
} }
} }

+ 1
- 1
hxhq-modules/hxhq-system/src/main/resources/mapper/business/StudyFormFillMapper.xml View File

@ -5,7 +5,7 @@
<mapper namespace="com.hxhq.business.mapper.StudyFormFillMapper"> <mapper namespace="com.hxhq.business.mapper.StudyFormFillMapper">
<select id="queryList" resultType="com.hxhq.business.dto.study.StudyFormFillListDto"> <select id="queryList" resultType="com.hxhq.business.dto.study.StudyFormFillListDto">
select t.id,t.bdbh,t.bdmc,t.create_time,t.user_mc,t.user_id,t.bdzt,t.bdzt,t.tjsj,tm.name as templateMc,tm.sn as templateSn,tm.dept_id as templateDeptId select t.id,t.bdbh,t.bdmc,t.create_time,t.user_mc,t.user_id,t.bdzt,t.bdzt,t.tjsj,tm.name as templateMc,tm.sn as templateSn,tm.dept_id as templateDeptId
,ss.leader as subjectLeader
,ss.leader as subjectLeader,t.sfbl
FROM `t_study_form_fill` t FROM `t_study_form_fill` t
join t_template tm on tm.id=t.template_id join t_template tm on tm.id=t.template_id
join t_study_subject ss on t.study_subject_id=ss.id join t_study_subject ss on t.study_subject_id=ss.id

Loading…
Cancel
Save