|
@@ -10,13 +10,18 @@ import com.xjrsoft.module.base.entity.BaseClass;
|
|
import com.xjrsoft.module.base.mapper.BaseClassMapper;
|
|
import com.xjrsoft.module.base.mapper.BaseClassMapper;
|
|
import com.xjrsoft.module.base.service.IBaseClassService;
|
|
import com.xjrsoft.module.base.service.IBaseClassService;
|
|
import com.xjrsoft.module.textbook.dto.TextbookPageDto;
|
|
import com.xjrsoft.module.textbook.dto.TextbookPageDto;
|
|
-import com.xjrsoft.module.textbook.entity.*;
|
|
|
|
|
|
+import com.xjrsoft.module.textbook.entity.Textbook;
|
|
|
|
+import com.xjrsoft.module.textbook.entity.TextbookClassRelation;
|
|
|
|
+import com.xjrsoft.module.textbook.entity.TextbookSubscriptionRecord;
|
|
|
|
+import com.xjrsoft.module.textbook.entity.WfTextbookSubscription;
|
|
|
|
+import com.xjrsoft.module.textbook.entity.WfTextbookSubscriptionItem;
|
|
import com.xjrsoft.module.textbook.mapper.TextbookClassRelationMapper;
|
|
import com.xjrsoft.module.textbook.mapper.TextbookClassRelationMapper;
|
|
import com.xjrsoft.module.textbook.mapper.TextbookMapper;
|
|
import com.xjrsoft.module.textbook.mapper.TextbookMapper;
|
|
import com.xjrsoft.module.textbook.mapper.TextbookSubscriptionRecordMapper;
|
|
import com.xjrsoft.module.textbook.mapper.TextbookSubscriptionRecordMapper;
|
|
import com.xjrsoft.module.textbook.service.ITextbookService;
|
|
import com.xjrsoft.module.textbook.service.ITextbookService;
|
|
import com.xjrsoft.module.textbook.service.IWfTextbookSubscriptionService;
|
|
import com.xjrsoft.module.textbook.service.IWfTextbookSubscriptionService;
|
|
-import com.xjrsoft.module.textbook.vo.TextbookClassWarehouseVo;
|
|
|
|
|
|
+import com.xjrsoft.module.textbook.vo.TextbookClassWarehouseListVo;
|
|
|
|
+import com.xjrsoft.module.textbook.vo.TextbookIssueRecordListVo;
|
|
import com.xjrsoft.module.textbook.vo.TextbookPageVo;
|
|
import com.xjrsoft.module.textbook.vo.TextbookPageVo;
|
|
import com.xjrsoft.module.textbook.vo.TextbookSubscriptionClassVo;
|
|
import com.xjrsoft.module.textbook.vo.TextbookSubscriptionClassVo;
|
|
import com.xjrsoft.module.textbook.vo.TextbookSubscriptionRecordVo;
|
|
import com.xjrsoft.module.textbook.vo.TextbookSubscriptionRecordVo;
|
|
@@ -247,8 +252,12 @@ public class TextbookServiceImpl extends MPJBaseServiceImpl<TextbookMapper, Text
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
- public List<TextbookClassWarehouseVo> warehouseList(Long id) {
|
|
|
|
- return textbookTextbookMapper.warehouseList(id);
|
|
|
|
|
|
+ public List<TextbookClassWarehouseListVo> warehouseList(Long id) {
|
|
|
|
+ List<TextbookClassWarehouseListVo> result = textbookTextbookMapper.warehouseList(id);
|
|
|
|
+ if(!result.isEmpty()){
|
|
|
|
+ return result;
|
|
|
|
+ }
|
|
|
|
+ return new ArrayList<>();
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -260,5 +269,14 @@ public class TextbookServiceImpl extends MPJBaseServiceImpl<TextbookMapper, Text
|
|
return new ArrayList<>();
|
|
return new ArrayList<>();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
+ public List<TextbookIssueRecordListVo> issueList(Long id) {
|
|
|
|
+ List<TextbookIssueRecordListVo> result = textbookTextbookMapper.issueList(id);
|
|
|
|
+ if(!result.isEmpty()){
|
|
|
|
+ return result;
|
|
|
|
+ }
|
|
|
|
+ return new ArrayList<>();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
|
|
}
|
|
}
|