生产单管理-列表时间修改

This commit is contained in:
lym
2024-07-11 09:31:15 +08:00
parent 4bd39e579a
commit 044bdb3163
13 changed files with 207 additions and 15 deletions
@@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.cf.imes.framework.common.pojo.PageResult;
import com.cf.imes.framework.mybatis.core.mapper.BaseMapperX;
import com.cf.imes.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.cf.imes.framework.organ.core.aop.OrganIgnore;
import com.cf.imes.framework.security.core.LoginUser;
import com.cf.imes.framework.security.core.util.SecurityFrameworkUtils;
import com.cf.imes.module.system.controller.admin.user.vo.user.UserPageReqVO;
@@ -92,6 +93,7 @@ public interface AdminUserMapper extends BaseMapperX<AdminUserDO> {
// .likeIfPresent(AdminUserDO::getPinyinInitial, namePyFirstChar)
// .orderByDesc(AdminUserDO::getId));
// }
@OrganIgnore
List<AdminUserDO> selectListByTerms(@Param("status") Integer status,@Param("namePyAll") String namePyAll,
@Param("namePyFirstChar")String namePyFirstChar,@Param("name") String name,
@Param("organId")Long organId);
@@ -542,7 +542,7 @@ public class AdminUserServiceImpl implements AdminUserService {
namePyFirstChar = PinYinUtils.convertToPinyin(name);
namePyAll = PinYinUtils.convertToPinyin(name).replaceAll(" ", "");
}
return userMapper.selectListByTerms(status, namePyAll, namePyFirstChar, name, SecurityFrameworkUtils.getLoginUserId());
return userMapper.selectListByTerms(status, namePyAll, namePyFirstChar, name, SecurityFrameworkUtils.getUserOrganId());
}
@Override