| | |
| | | pageHelper.addDefaultAsc("ordernum"); |
| | | Query query = new Query(); |
| | | query.setAscs("ordernum"); |
| | | query.setSize(pageHelper.getLimit()); |
| | | if(pageHelper.getLimit() != -1){ |
| | | query.setSize(pageHelper.getLimit()); |
| | | query.setCurrent(pageHelper.getPage()); |
| | | } |
| | | IPage<CodeClassifyTemplateAttr> doList = baseMapper. |
| | |
| | | if(!CollectionUtils.isEmpty(oids)){ |
| | | this.removeBatchByIds(oids); |
| | | } |
| | | String tenantId = AuthUtil.getTenantId().toString(); |
| | | codeClassifyTemplateAttrDOInsert.parallelStream().forEach(item->{ |
| | | item.setTenantId(tenantId); |
| | | }); |
| | | //再新增 |
| | | if(!CollectionUtils.isEmpty(codeClassifyTemplateAttrDOInsert)){ |
| | | this.saveBatch(codeClassifyTemplateAttrDOInsert); |