|
|
@@ -1,6 +1,8 @@
|
|
|
package com.dk.mdm.service.ivt;
|
|
|
|
|
|
+import com.dk.common.infrastructure.annotaiton.Pagination;
|
|
|
import com.dk.common.infrastructure.constant.Constant;
|
|
|
+import com.dk.common.model.pojo.PageList;
|
|
|
import com.dk.common.response.ResponseResultUtil;
|
|
|
import com.dk.common.response.ResponseResultVO;
|
|
|
import com.dk.mdm.infrastructure.convert.ivt.InboundItemConvert;
|
|
|
@@ -9,6 +11,8 @@ import com.dk.mdm.model.pojo.ivt.InboundItem;
|
|
|
import com.dk.mdm.mapper.ivt.InboundItemMapper;
|
|
|
import com.dk.common.service.BaseService;
|
|
|
import com.dk.common.mapper.BaseMapper;
|
|
|
+import com.dk.mdm.model.query.ivt.InboundItemQuery;
|
|
|
+import com.dk.mdm.model.response.ivt.InboundItemResponse;
|
|
|
import com.dk.mdm.model.vo.ivt.InboundItemVO;
|
|
|
import com.dk.mdm.model.vo.ivt.InboundVO;
|
|
|
import com.dk.mdm.service.common.CommonService;
|
|
|
@@ -36,6 +40,16 @@ public class InboundItemService extends BaseService<InboundItem> {
|
|
|
@Autowired
|
|
|
private CommonService commonService;
|
|
|
|
|
|
+ /**
|
|
|
+ * @desc : 条件查询 (采购入库用)
|
|
|
+ * @author : 常皓宁
|
|
|
+ * @date : 2024/3/13 14:36
|
|
|
+ */
|
|
|
+ @Pagination
|
|
|
+ public ResponseResultVO<PageList<InboundItemResponse>> selectByCond(InboundItemQuery inboundItemQuery) {
|
|
|
+ return super.mergeListWithCount(inboundItemQuery, inboundItemMapper.selectByCond(inboundItemQuery), inboundItemMapper.countByCond(inboundItemQuery));
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* @desc : 新建入库单明细
|