Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-after
| | |
| | | package com.yuanchu.mom.controller; |
| | | |
| | | import cn.hutool.core.bean.BeanUtil; |
| | | import cn.hutool.core.collection.CollUtil; |
| | | import cn.hutool.core.lang.Console; |
| | | import cn.hutool.core.util.ObjectUtil; |
| | | import cn.hutool.json.JSONUtil; |
| | | import cn.hutool.poi.excel.ExcelReader; |
| | | import cn.hutool.poi.excel.ExcelUtil; |
| | | import cn.hutool.poi.excel.sax.handler.RowHandler; |
| | | import com.alibaba.excel.util.StringUtils; |
| | | import com.alibaba.fastjson2.JSON; |
| | | import com.alibaba.fastjson2.JSONObject; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.yuanchu.mom.annotation.ValueAuth; |
| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import java.io.IOException; |
| | | import java.io.InputStream; |
| | | import java.math.BigDecimal; |
| | | import java.time.LocalDateTime; |
| | | import java.time.format.DateTimeFormatter; |
| | | import java.time.format.DateTimeParseException; |
| | | import java.util.*; |
| | | import java.util.function.Predicate; |
| | | import java.util.stream.Collectors; |
| | | import java.util.Arrays; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * æ£éªé¡¹ç®åæ°(StructureItemParameter)表æ§å¶å± |
| | |
| | | private EnumService enumService; |
| | | |
| | | @ValueClassify(value = "è½åèå´") |
| | | @ApiOperation(value = "导å
¥") |
| | | @ApiOperation(value = "导å
¥æ£éªé¡¹ç®") |
| | | @PostMapping("/importData") |
| | | @Transactional |
| | | public Result importData(@RequestParam("file") MultipartFile file) throws Exception { |
| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * <p> |
| | | * æ¶æ¯éç¥ å端æ§å¶å¨ |
| | |
| | | informationNotificationService.triggerModificationStatusToRead(id); |
| | | return Result.success(); |
| | | } |
| | | |
| | | @ApiOperation(value = "æ¶æ¯éç¥-è·åé¦é¡µåç§æ¶æ¯æ°é") |
| | | @GetMapping("getNumberFourTypesMessagesHomePage") |
| | | @ValueAuth |
| | | public Result<?> getNumberFourTypesMessagesHomePage() { |
| | | Map<String, Object> data = informationNotificationService.getNumberFourTypesMessagesHomePage(); |
| | | return Result.success(data); |
| | | } |
| | | } |
| | |
| | | import com.yuanchu.mom.pojo.InformationNotification; |
| | | import com.yuanchu.mom.pojo.InformationNotificationDto; |
| | | |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * <p> |
| | | * æ¶æ¯éç¥ æå¡ç±» |
| | |
| | | void triggerModificationStatusToRead(Integer id); |
| | | |
| | | int addInformationNotification(InformationNotification informationNotification); |
| | | |
| | | Map<String, Object> getNumberFourTypesMessagesHomePage(); |
| | | } |
| | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.time.LocalDate; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | |
| | | public int addInformationNotification(InformationNotification informationNotification) { |
| | | return baseMapper.insert(informationNotification); |
| | | } |
| | | |
| | | @Override |
| | | public Map<String, Object> getNumberFourTypesMessagesHomePage() { |
| | | Map<String, Integer> map1 = null; |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map1 = getLook.selectPowerByMethodAndUserId("selectInsOrderParameter"); |
| | | Long totalNumberOfMessages = baseMapper.selectCount(Wrappers.<InformationNotification>lambdaQuery() |
| | | .eq(InformationNotification::getConsigneeId, map1.get("userId"))); |
| | | Long totalNumberOfReadMessages = baseMapper.selectCount(Wrappers.<InformationNotification>lambdaQuery() |
| | | .eq(InformationNotification::getConsigneeId, map1.get("userId")) |
| | | .eq(InformationNotification::getViewStatus, true)); |
| | | LocalDate today = LocalDate.now(); |
| | | LocalDate sevenDaysAgo = today.minusDays(7); |
| | | Long totalNumberOfMessagesInThePastSevenDays = baseMapper.selectCount(Wrappers.<InformationNotification>lambdaQuery() |
| | | .eq(InformationNotification::getConsigneeId, map1.get("userId")) |
| | | .between(InformationNotification::getCreateTime, today, sevenDaysAgo)); |
| | | long remainingToDo = totalNumberOfMessages - totalNumberOfReadMessages; |
| | | map.put("totalNumberOfMessages", totalNumberOfMessages); |
| | | map.put("remainingToDo", remainingToDo); |
| | | map.put("totalNumberOfReadMessages", totalNumberOfReadMessages); |
| | | map.put("totalNumberOfMessagesInThePastSevenDays", totalNumberOfMessagesInThePastSevenDays); |
| | | return map; |
| | | } |
| | | } |
| | |
| | | InsOrderPlanDTO insOrderPlanDTO = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), InsOrderPlanDTO.class); |
| | | return Result.success(insOrderPlanService.selectInsOrderPlanList(page, insOrderPlanDTO)); |
| | | } |
| | | |
| | | @ValueClassify("æ£éªä»»å¡") |
| | | @ApiOperation(value = "æ£éªå详æ
-ä»»å¡åæ¢") |
| | | @PostMapping("/inspectionOrderDetailsTaskSwitching") |
| | | public Result inspectionOrderDetailsTaskSwitching(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | page.setOptimizeCountSql(false); |
| | | InsOrderPlanDTO insOrderPlanDTO = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), InsOrderPlanDTO.class); |
| | | return Result.success(insOrderPlanService.inspectionOrderDetailsTaskSwitching(page, insOrderPlanDTO)); |
| | | } |
| | | |
| | | @ValueClassify("æ£éªä»»å¡") |
| | | @ApiOperation(value = "认é¢ä»»å¡è®¡å") |
| | | @PostMapping("/claimInsOrderPlan") |
| | |
| | | private ReportService reportService; |
| | | |
| | | @ValueClassify("ç»è®¡å¾è¡¨") |
| | | @ApiOperation(value = "æ¯æ¥ä¸å¡ç»è®¡") |
| | | @ApiOperation(value = "æ¥è¯¢æ¯æ¥ä¸å¡ç»è®¡") |
| | | @GetMapping("/businessStatisticsByDay") |
| | | public Result businessStatisticsByDay(){ |
| | | return Result.success(reportService.businessStatisticsByDay()); |
| | | } |
| | | @ValueClassify("ç»è®¡å¾è¡¨") |
| | | @ApiOperation(value = "æ£æµé¡¹ç®ç»è®¡") |
| | | @ApiOperation(value = "æ¥è¯¢æ£æµé¡¹ç®ç»è®¡") |
| | | @GetMapping("/testProductByDay") |
| | | public Result testProductByDay(){ |
| | | return Result.success(reportService.testProductByDay()); |
| | | } |
| | | @ValueAuth |
| | | @ApiOperation(value = "æ¥åä»»å¡å¾") |
| | | @ApiOperation(value = "æ¥è¯¢æ¥åä»»å¡å¾") |
| | | @GetMapping("/calendarWorkByWeek") |
| | | public Result calendarWorkByWeek(){ |
| | | return Result.success(reportService.calendarWorkByWeek()); |
| | | } |
| | | @ValueClassify("个人é¦é¡µ") |
| | | |
| | | @ValueAuth |
| | | @ApiOperation(value = "æ·»å æ¥ç¨") |
| | | @PostMapping("/addSchedule") |
| | | public Result addSchedule(String time, String text){ |
| | | return Result.success(reportService.addSchedule(time,text)); |
| | | } |
| | | @ValueAuth |
| | | @ApiOperation(value = "æçæ¥ç¨") |
| | | @ApiOperation(value = "æ¥è¯¢æçæ¥ç¨") |
| | | @PostMapping("/ScheduleByMe") |
| | | public Result ScheduleByMe(String date){ |
| | | return Result.success(reportService.ScheduleByMe(date)); |
| | |
| | | return Result.success(standardTemplateService.getStandTempThingById(id)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | @ApiOperation(value = "ç¼è¾æ¨¡æ¿ç¼å¶") |
| | | @GetMapping("/getEditTemplatePreparation") |
| | | @ValueClassify("æ ååº") |
| | | public Result<?> getEditTemplatePreparation(@RequestParam("id") Integer id) { |
| | | StandardTemplate byId = standardTemplateService.getById(id); |
| | | return Result.success("OK", byId.getThing()); |
| | |
| | | @ValueTableShow(value = 14, name = "æ¯å¦åæ ¼") |
| | | private Integer insResult; |
| | | |
| | | @ValueTableShow(value = 16, name = "设å¤") |
| | | private String equipValue; |
| | | |
| | | } |
| | |
| | | import com.yuanchu.mom.dto.InsOrderPlanDTO; |
| | | import com.yuanchu.mom.dto.SampleProductDto; |
| | | import com.yuanchu.mom.pojo.InsSample; |
| | | import com.yuanchu.mom.vo.InsOrderPlanTaskSwitchVo; |
| | | import com.yuanchu.mom.vo.InsOrderPlanVO; |
| | | |
| | | import java.util.List; |
| | |
| | | |
| | | IPage<InsOrderPlanVO> findInsSampleAndOrder(Page page, QueryWrapper<InsOrderPlanDTO> ew, Integer userId); |
| | | |
| | | IPage<InsOrderPlanTaskSwitchVo> inspectionOrderDetailsTaskSwitching(Page page, QueryWrapper<InsOrderPlanDTO> ew, Integer userId); |
| | | |
| | | List<SampleProductDto> selectSampleProductListByOrderId(Integer id); |
| | | |
| | | List<SampleProductDto> getInsOrderAndSample(Integer id, String laboratory); |
| | |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.yuanchu.mom.dto.InsOrderPlanDTO; |
| | | import com.yuanchu.mom.pojo.InsOrder; |
| | | import com.yuanchu.mom.pojo.InsSample; |
| | | |
| | | import java.util.Map; |
| | | |
| | |
| | | public interface InsOrderPlanService { |
| | | Map<String,Object> selectInsOrderPlanList(Page page, InsOrderPlanDTO insOrderPlanDTO); |
| | | |
| | | Map<String,Object> inspectionOrderDetailsTaskSwitching(Page page, InsOrderPlanDTO insOrderPlanDTO); |
| | | |
| | | boolean claimInsOrderPlan(InsOrderPlanDTO entity); |
| | | |
| | | void saveInsContext(Map<String, Object> insContext); |
| | |
| | | import com.yuanchu.mom.utils.JackSonUtil; |
| | | import com.yuanchu.mom.utils.MatrixToImageWriter; |
| | | import com.yuanchu.mom.utils.QueryWrappers; |
| | | import com.yuanchu.mom.vo.InsOrderPlanTaskSwitchVo; |
| | | import com.yuanchu.mom.vo.InsOrderPlanVO; |
| | | import org.apache.commons.io.IOUtils; |
| | | import org.apache.poi.xwpf.usermodel.*; |
| | |
| | | } |
| | | |
| | | @Override |
| | | public Map<String, Object> inspectionOrderDetailsTaskSwitching(Page page, InsOrderPlanDTO insOrderPlanDTO) { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("head", PrintChina.printChina(InsOrderPlanTaskSwitchVo.class)); |
| | | Map<String, Integer> map1 = getLook.selectPowerByMethodAndUserId(null); |
| | | Integer userId = map1.get("userId"); |
| | | if (ObjectUtil.isNotEmpty(insOrderPlanDTO.getUserId())) { |
| | | insOrderPlanDTO.setUserId(userId.longValue()); |
| | | } |
| | | IPage<InsOrderPlanTaskSwitchVo> insOrderPage = insSampleMapper.inspectionOrderDetailsTaskSwitching(page, QueryWrappers.queryWrappers(insOrderPlanDTO), userId); |
| | | map.put("body", insOrderPage); |
| | | return map; |
| | | } |
| | | |
| | | @Override |
| | | public boolean claimInsOrderPlan(InsOrderPlanDTO entity) { |
| | | if (Objects.isNull(entity)) { |
| | | return false; |
| | |
| | | String[] models = insSample.getModel().split("-(?=[^-]*$)");//æåæåä¸ä¸ªã-ã |
| | | List<StandardProductList> list = standardProductListMapper.selectList(Wrappers.<StandardProductList>lambdaQuery().eq(StandardProductList::getStandardMethodListId, insSample.getStandardMethodListId()).eq(StandardProductList::getState, 1).eq(StandardProductList::getModel, models[0])); |
| | | if (list.size() == 0) { |
| | | list = standardProductListMapper.selectList(Wrappers.<StandardProductList>lambdaQuery().eq(StandardProductList::getStandardMethodListId, insSample.getStandardMethodListId()).eq(StandardProductList::getState, 1)); |
| | | list = standardProductListMapper.selectList(Wrappers.<StandardProductList>lambdaQuery() |
| | | .eq(StandardProductList::getStandardMethodListId, insSample.getStandardMethodListId()) |
| | | .eq(StandardProductList::getState, 1) |
| | | .like(StandardProductList::getTree, insSample.getFactory().split("-(?=[^-]*$)")[0])); |
| | | } |
| | | list = list.stream().filter(a -> { |
| | | try { |
| | |
| | | List<String> tells = JSON.parseArray(a.getTell(), String.class); |
| | | List<String> manHours = JSON.parseArray(a.getManHour(), String.class); |
| | | List<String> prices = JSON.parseArray(a.getPrice(), String.class); |
| | | boolean isIf = false; |
| | | boolean isIf; |
| | | for (int i = 0; i < sections.size(); i++) { |
| | | if (sections.get(i).contains("&")) { |
| | | String[] split = sections.get(i).split("&"); |
| | | isIf = new BigDecimal(models[1]).compareTo(new BigDecimal(split[0])) > -1 && new BigDecimal(models[1]).compareTo(new BigDecimal(split[1])) < 1; |
| | | } else if (sections.get(i).contains("â¥") || sections.get(i).contains(">=")) { |
| | | String param = sections.get(i).replace("â¥", "").replace(">=", ""); |
| | | isIf = new BigDecimal(models[1]).compareTo(new BigDecimal(param)) > -1; |
| | | } else if (sections.get(i).contains("â¤") || sections.get(i).contains("<=")) { |
| | | String param = sections.get(i).replace("â¤", "").replace("<=", ""); |
| | | isIf = new BigDecimal(models[1]).compareTo(new BigDecimal(param)) < 1; |
| | | } else if (sections.get(i).contains(">")) { |
| | | String param = sections.get(i).replace(">", ""); |
| | | isIf = new BigDecimal(models[1]).compareTo(new BigDecimal(param)) > 0; |
| | | } else if (sections.get(i).contains("<")) { |
| | | String param = sections.get(i).replace("<", ""); |
| | | isIf = new BigDecimal(models[1]).compareTo(new BigDecimal(param)) < 0; |
| | | } else if (sections.get(i).contains("=")) { |
| | | String param = sections.get(i).replace("=", ""); |
| | | isIf = new BigDecimal(models[1]).compareTo(new BigDecimal(param)) == 0; |
| | | isIf = getIsIf(split[0], models[1]) && getIsIf(split[1], models[1]); |
| | | } else { |
| | | isIf = getIsIf(sections.get(i), models[1]); |
| | | } |
| | | if (isIf) { |
| | | a.setSection(sections.get(i)); |
| | |
| | | return list; |
| | | } |
| | | |
| | | private boolean getIsIf(String str, String model){ |
| | | if (str.contains("â¥") || str.contains(">=")) { |
| | | String param = str.replace("â¥", "").replace(">=", ""); |
| | | return new BigDecimal(model).compareTo(new BigDecimal(param)) > -1; |
| | | } else if (str.contains("â¤") || str.contains("<=")) { |
| | | String param = str.replace("â¤", "").replace("<=", ""); |
| | | return new BigDecimal(model).compareTo(new BigDecimal(param)) < 1; |
| | | } else if (str.contains(">")||str.contains("ï¼")) { |
| | | String param = str.replace(">", "").replace("ï¼", ""); |
| | | return new BigDecimal(model).compareTo(new BigDecimal(param)) > 0; |
| | | } else if (str.contains("<")||str.contains("ï¼")) { |
| | | String param = str.replace("<", "").replace("ï¼", ""); |
| | | return new BigDecimal(model).compareTo(new BigDecimal(param)) < 0; |
| | | } else if (str.contains("=")) { |
| | | String param = str.replace("=", ""); |
| | | return new BigDecimal(model).compareTo(new BigDecimal(param)) == 0; |
| | | } |
| | | return false; |
| | | } |
| | | |
| | | @Override |
| | | public Map<String, Object> selectStandardProductListByMethodId(Integer id, String tree, Integer page) { |
| | | String[] trees = tree.split(" - "); |
| | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public int upStandardProducts(Map<String, Object> product) { |
| | | List<Integer> ids = JSON.parseArray(JSON.toJSONString(product.get("ids"))); |
| | | List<Integer> ids = JSON.parseArray(product.get("ids")+""); |
| | | StandardProductList productList = JSON.parseObject(JSON.toJSONString(product.get("standardProductList")), StandardProductList.class); |
| | | standardProductListMapper.update(productList, Wrappers.<StandardProductList>lambdaUpdate().in(StandardProductList::getId, ids)); |
| | | return 1; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.yuanchu.mom.vo; |
| | | |
| | | import com.yuanchu.mom.annotation.ValueTableShow; |
| | | import com.yuanchu.mom.common.OrderBy; |
| | | import lombok.Data; |
| | | |
| | | @Data |
| | | public class InsOrderPlanTaskSwitchVo extends OrderBy { |
| | | private String id; |
| | | |
| | | @ValueTableShow(value = 1,name = "å§æç¼å·") |
| | | private String entrustCode; |
| | | |
| | | @ValueTableShow(value = 2,name = "æ£éªå¯¹è±¡") |
| | | private String sampleType; |
| | | |
| | | @ValueTableShow(value = 4,name = "ç´§æ¥ç¨åº¦") |
| | | private String type; |
| | | |
| | | @ValueTableShow(value = 5,name = "ç¶æ") |
| | | private String insState; |
| | | |
| | | @ValueTableShow(value = 6,name = "çº¦å®æ¶é´") |
| | | private String appointed; |
| | | |
| | | @ValueTableShow(value = 7,name = "ä¸åæ¶é´") |
| | | private String sendTime; |
| | | |
| | | private Integer userId; |
| | | |
| | | private String sonLaboratory; |
| | | |
| | | private Integer orderUserId; |
| | | |
| | | private Integer verifyUser; |
| | | } |
| | |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="inspectionOrderDetailsTaskSwitching" resultType="com.yuanchu.mom.vo.InsOrderPlanTaskSwitchVo"> |
| | | select * from( |
| | | SELECT |
| | | a.*,ios.ins_state,ios.verify_tell,isu2.order_user_id,(ios.verify_user = #{userId}) verify_user |
| | | FROM |
| | | ( |
| | | SELECT |
| | | io.id, |
| | | io.entrust_code, |
| | | io.type, |
| | | io.appointed, |
| | | io.send_time, |
| | | io.sample_type, |
| | | isu.user_id, |
| | | ip.son_laboratory, |
| | | io.ins_time |
| | | FROM |
| | | ins_order io |
| | | LEFT JOIN ins_sample isa ON isa.ins_order_id = io.id |
| | | LEFT JOIN ( SELECT * FROM ins_sample_user GROUP BY ins_sample_id, user_id ) isu ON isu.ins_sample_id = io.id |
| | | LEFT JOIN ins_product ip ON ip.ins_sample_id = isa.id |
| | | WHERE |
| | | io.state = 1 |
| | | # AND io.ins_state != 5 |
| | | and send_time is not null |
| | | and (isu.user_id = #{userId} OR isu.user_id is NULL) |
| | | GROUP BY |
| | | ip.son_laboratory, |
| | | io.id |
| | | ) a |
| | | LEFT JOIN ins_order_state ios ON ios.ins_order_id = a.id AND ios.laboratory = a.son_laboratory |
| | | left join (SELECT td.user_id order_user_id, td.ins_sample_id FROM ins_sample_user td,(SELECT max(id) id FROM ins_sample_user GROUP BY ins_sample_id) md where td.id = md.id and user_id = #{userId}) isu2 on isu2.ins_sample_id = a.id |
| | | ORDER BY |
| | | a.user_id DESC, |
| | | a.type DESC, |
| | | a.id |
| | | ) b |
| | | <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''"> |
| | | ${ew.customSqlSegment} |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="selectSampleProductListByOrderId" resultMap="sampleDto"> |
| | | select isa.*, |
| | | ip.id ip_id, |
| | |
| | | } |
| | | |
| | | @ValueClassify("äººåæ»è§") |
| | | @ApiOperation(value = "äººåæ»è§") |
| | | @ApiOperation(value = "æ¥è¯¢äººåæ»è§") |
| | | @PostMapping("/selectPersonnelOverview") |
| | | public Result selectPersonnelOverview(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | |
| | | |
| | | private Integer isCustom; |
| | | |
| | | @ApiModelProperty(value = "è±æå®¢æ·åä½") |
| | | private String companyEn; |
| | | |
| | | @ApiModelProperty(value = "è±æåä½å°å") |
| | | private String addressEn; |
| | | } |
| | |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public int addPersonUser(PersonDto personDto) { |
| | | AtomicReference<String> departId = new AtomicReference<>(""); |
| | | AtomicReference<String> departId = new AtomicReference<>("1,"); |
| | | AtomicReference<String> companyName = new AtomicReference<>(); |
| | | personDto.getCompany().forEach(company -> { |
| | | Departments department = departmentsMapper.selectOne(Wrappers.<Departments>lambdaQuery().eq(Departments::getCompanyId, company.getCompanyId())); |
| | |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | import java.util.Objects; |
| | | import java.util.concurrent.TimeUnit; |
| | | import java.util.stream.Collectors; |
| | | |
| | |
| | | }catch (Exception e){ |
| | | throw new ErrorException(e.getMessage()); |
| | | } |
| | | return companies.stream().filter(ob->{ |
| | | /*return companies.stream().filter(ob->{ |
| | | if(ob.getStatus().equals("enabled")) return true; |
| | | return false; |
| | | }).collect(Collectors.toList()); |
| | | }).collect(Collectors.toList());*/ |
| | | return companies; |
| | | } |
| | | |
| | | public List<Person> userUrl(String companyId) { |
| | |
| | | throw new ErrorException(e.getMessage()); |
| | | } |
| | | return person.stream().filter(ob->{ |
| | | if(Objects.equals(ob.getStatus(), "enabled")) { |
| | | ob.setIsLive(userMapper.selectCount(Wrappers.<User>lambdaQuery().eq(User::getAccount, ob.getEmployeeID()))); |
| | | return true; |
| | | } |
| | | return false; |
| | | ob.setIsLive(userMapper.selectCount(Wrappers.<User>lambdaQuery().eq(User::getAccount, ob.getEmployeeID()))); |
| | | return true; |
| | | }).collect(Collectors.toList()); |
| | | } |
| | | |