| | |
| | | * @param terms 条件 |
| | | * @return Page |
| | | */ |
| | | public Page<CasedraftInfo> pageQuery(PageRequest page, Map<String, Object> terms){ |
| | | public Page<CasedraftInfo> pageQuery(PageRequest page, Map<String, Object> terms,String userId){ |
| | | CtUserDTO loginUser = custClient.clientGetUserAll(userId); |
| | | terms.put("inputUnitId", loginUser.getUnitId()); |
| | | long total = mapper.countTerms(terms); |
| | | List<CasedraftInfo> content = mapper.pageTerms(page, terms); |
| | | return new PageImpl<CasedraftInfo>(content, page, total); |
| | |
| | | |
| | | CasedraftInfo casedraftInfo = new CasedraftInfo(); |
| | | BeanUtils.copyProperties(draftRegisterSaveDTO, casedraftInfo); |
| | | //默认添加省市 |
| | | casedraftInfo.setQueProv("19"); |
| | | casedraftInfo.setQueProvName("广东省"); |
| | | casedraftInfo.setQueCity("1601"); |
| | | casedraftInfo.setQueCityName("广州市"); |
| | | casedraftInfo.setCustId(loginUser.getCustId()); |
| | | casedraftInfo.setUpdateTime(nowDate); |
| | | // 常规登记-保存当事人 |