|
@@ -134,17 +134,9 @@ public class CategoryUtil {
|
|
|
if (sub.equals("00")){
|
|
|
QueryWrapper<TypeBy> queryWrapper = new QueryWrapper<>();
|
|
|
if (mid.equals("00")){
|
|
|
- queryWrapper.likeRight("type_code_by",big).and(addrCategoryQueryWrapper -> {
|
|
|
- addrCategoryQueryWrapper.ne("mid_category","");
|
|
|
- }).and(addrCategoryQueryWrapper -> {
|
|
|
- addrCategoryQueryWrapper.ne("sub_category","");
|
|
|
- });
|
|
|
+ queryWrapper.likeRight("type_code_by",big);
|
|
|
}else{
|
|
|
- queryWrapper.likeRight("type_code_by",big+mid).and(addrCategoryQueryWrapper -> {
|
|
|
- addrCategoryQueryWrapper.ne("mid_category","");
|
|
|
- }).and(addrCategoryQueryWrapper -> {
|
|
|
- addrCategoryQueryWrapper.ne("sub_category","");
|
|
|
- });
|
|
|
+ queryWrapper.likeRight("type_code_by",big+mid);
|
|
|
}
|
|
|
List<TypeBy> typeByList = byDao.selectList(queryWrapper);
|
|
|
for (TypeBy typeBy : typeByList){
|