|
|
|
@@ -14,6 +14,7 @@ import com.ffii.fpsms.modules.qc.entity.QcResultRepository |
|
|
|
import com.ffii.fpsms.modules.stock.entity.* |
|
|
|
import com.ffii.fpsms.modules.stock.sql.StockSql.SQL.INVENTORY_COUNT |
|
|
|
import net.sf.jasperreports.engine.JasperCompileManager |
|
|
|
import org.springframework.context.annotation.Lazy |
|
|
|
import org.springframework.core.io.ClassPathResource |
|
|
|
import org.springframework.stereotype.Service |
|
|
|
import org.springframework.transaction.annotation.Transactional |
|
|
|
@@ -98,7 +99,8 @@ open class StockInLineService( |
|
|
|
private val inventoryRepository: InventoryRepository, |
|
|
|
private val m18GoodsReceiptNoteService: M18GoodsReceiptNoteService, |
|
|
|
private val m18GoodsReceiptNoteLogRepository: M18GoodsReceiptNoteLogRepository, |
|
|
|
private val m18PurchaseOrderService: M18PurchaseOrderService, |
|
|
|
/** Lazy to avoid circular dependency: M18PurchaseOrderService → … → StockInLineService. */ |
|
|
|
@Lazy private val m18PurchaseOrderService: M18PurchaseOrderService, |
|
|
|
) : AbstractBaseEntityService<StockInLine, Long, StockInLineRepository>(jdbcDao, stockInLineRepository) { |
|
|
|
|
|
|
|
private val logger = LoggerFactory.getLogger(StockInLineService::class.java) |
|
|
|
|