8 changed files with 226 additions and 13 deletions
-
27src/main/java/com/heai/modules/board/controller/InventoryController.java
-
63src/main/java/com/heai/modules/board/entity/Inventory.java
-
3src/main/java/com/heai/modules/board/service/BoardService.java
-
10src/main/java/com/heai/modules/board/service/impl/BoardServiceImpl.java
-
4src/main/java/com/heai/modules/production/service/impl/PrintLabelRecordServiceImpl.java
-
3src/main/java/com/heai/modules/taskmanage/dao/TaskDetailDao.java
-
58src/main/resources/mapper/production/DailyPlanMapper.xml
-
71src/main/resources/mapper/taskmanage/TaskDatailDao.xml
@ -0,0 +1,27 @@ |
|||
package com.heai.modules.board.controller; |
|||
|
|||
|
|||
import com.heai.common.utils.R; |
|||
import com.heai.modules.board.entity.Inventory; |
|||
import com.heai.modules.board.service.BoardService; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
import java.util.List; |
|||
|
|||
@RestController |
|||
@RequestMapping("/inventory") |
|||
public class InventoryController { |
|||
|
|||
@Autowired |
|||
private BoardService boardService; |
|||
|
|||
@PostMapping |
|||
private R inventory(@RequestBody Inventory inventory) { |
|||
List<Inventory> list = boardService.queryPartInventory(inventory); |
|||
return R.ok().put("rows",list); |
|||
} |
|||
} |
|||
@ -0,0 +1,63 @@ |
|||
package com.heai.modules.board.entity; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
|
|||
@Data |
|||
public class Inventory { |
|||
|
|||
private String partNo; |
|||
private String partDescription; |
|||
|
|||
private String spec; |
|||
private String warehouseId; |
|||
private String locationId; |
|||
|
|||
private String batchNo; |
|||
|
|||
private BigDecimal qtyOnHand; |
|||
private String umId; |
|||
|
|||
private Date firstInDate; |
|||
private String freezeFlag; |
|||
|
|||
private String partType; |
|||
|
|||
private String familyId; |
|||
|
|||
private String familyName; |
|||
|
|||
private Date latestOutDate; |
|||
|
|||
private Date activeDate; |
|||
|
|||
private String partnerId; |
|||
private String partnerType; |
|||
|
|||
private String site; |
|||
|
|||
private Date manufactureDate; |
|||
|
|||
private Date expiredDate; |
|||
|
|||
private String demandPartnerId; |
|||
|
|||
private String demandPartnerName; |
|||
private String demandPartnerType; |
|||
private String latestCountDate; |
|||
private String groupID; |
|||
private String partGroup; |
|||
private Date latestInDate; |
|||
private BigDecimal qtyReserved; |
|||
|
|||
|
|||
private BigDecimal standartStockValue; |
|||
private BigDecimal actualStockValue; |
|||
|
|||
private Date finalStartDate; |
|||
private Date finalEndDate; |
|||
|
|||
private String loginUser; |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue