|
@@ -7,15 +7,12 @@ import com.ruoyi.common.annotation.DataSource;
|
|
|
import com.ruoyi.common.core.domain.entity.SysDept;
|
|
|
import com.ruoyi.common.core.domain.entity.SysUser;
|
|
|
import com.ruoyi.common.enums.DataSourceType;
|
|
|
-import com.ruoyi.zzb.base.domain.BasePersonInfo;
|
|
|
-import com.ruoyi.zzb.base.mapper.BasePersonInfoMapper;
|
|
|
import com.ruoyi.zzb.zdcx.domain.Zdcx;
|
|
|
import com.ruoyi.zzb.zdcx.mapper.ZdcxMapper;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
-import java.util.*;
|
|
|
|
|
|
@Slf4j
|
|
|
@Service
|
|
@@ -24,8 +21,6 @@ public class ZdcxService {
|
|
|
|
|
|
@Autowired
|
|
|
private ZdcxMapper zdcxMapper;
|
|
|
- @Autowired
|
|
|
- private BasePersonInfoMapper basePersonInfoMapper;
|
|
|
|
|
|
|
|
|
* 根据条件分页查询制度信息
|
|
@@ -81,16 +76,6 @@ public class ZdcxService {
|
|
|
return zdcxMapper.selectPage(page, queryWrapper);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- * 根据警号查询当前用户信息
|
|
|
- * @param policeNo
|
|
|
- * @return
|
|
|
- */
|
|
|
- public BasePersonInfo getDataByPoliceNo(String policeNo){
|
|
|
- QueryWrapper<BasePersonInfo> queryWrapper = new QueryWrapper<>();
|
|
|
- queryWrapper.eq("POLICE_NO", policeNo);
|
|
|
- return basePersonInfoMapper.selectOne(queryWrapper);
|
|
|
- }
|
|
|
|
|
|
|
|
|
* 根据参数保存一条制度规范信息
|