| | |
| | | //采收 |
| | | record.setType("12"); |
| | | record.setLandId(recovery.getLandId()); |
| | | record.setDeptId(recovery.getDeptId()); |
| | | record.setTenantId(recovery.getTenantId()); |
| | | record.setStrainId(recovery.getStrainId()); |
| | | record.setOperator(recovery.getOperator()); |
| | | Strain strain = strainService.getById(recovery.getStrainId()); |
| | |
| | | productStock.setStrainId(recovery.getStrainId()); |
| | | productStock.setWeight(recovery.getWeight()); |
| | | productStock.setFarmPlantId(recovery.getFarmPlantId()); |
| | | productStock.setTenantId(recovery.getTenantId()); |
| | | productStock.setDeptId(recovery.getDeptId()); |
| | | //新增操作 |
| | | farmProductStockService.save(productStock); |
| | | } |