明细批量修改更新接口 未完成
This commit is contained in:
		@@ -63,7 +63,7 @@
 | 
			
		||||
    </select>
 | 
			
		||||
 | 
			
		||||
    <select id="findListByProductProcess" parameterType="com.deer.wms.produce.manage.model.ProductProcessParams" resultMap="ProductProcessBatchDetVoResultMap">
 | 
			
		||||
        SELECT det.id, det.create_time, det.batch_code, det.delivery_code,
 | 
			
		||||
        SELECT det.id, det.create_time, det.update_time, det.batch_code, det.delivery_code,
 | 
			
		||||
        det.volume_num, det.batch_det_code, det.len, det.delivery_len,
 | 
			
		||||
        det.detection_len, det.shrinkage, det.dyelot_num, det.dyelot_order,
 | 
			
		||||
        prodproc.product_process_name0,
 | 
			
		||||
 
 | 
			
		||||
@@ -21,4 +21,6 @@ public interface ProductProcessBatchDetService extends Service<ProductProcessBat
 | 
			
		||||
    List<ProductProcessBatchDetVo> findListByProductProcess(ProductProcessParams params);
 | 
			
		||||
 | 
			
		||||
    ProductProcessBatchDet findBatchDetById(ProductProcessBatchDetParams batchDetParams);
 | 
			
		||||
 | 
			
		||||
    void batchUpdate(List<ProductProcessBatchDet> productProcessBatchDetList);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -43,4 +43,9 @@ public class ProductProcessBatchDetServiceImpl extends AbstractService<ProductPr
 | 
			
		||||
    public ProductProcessBatchDet findBatchDetById(ProductProcessBatchDetParams batchDetParams) {
 | 
			
		||||
        return productProcessBatchDetMapper.findBatchDetById(batchDetParams);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public void batchUpdate(List<ProductProcessBatchDet> productProcessBatchDetList) {
 | 
			
		||||
        
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -103,4 +103,13 @@ public class ProductProcessBatchDetController {
 | 
			
		||||
        return ResultGenerator.genSuccessResult(pageInfo);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    @OperateLog(description = "批量修改明细", type = "更新")
 | 
			
		||||
    @ApiOperation(value = "批量修改明细", notes = "批量修改明细")
 | 
			
		||||
    @PostMapping("/batchUpdate")
 | 
			
		||||
    public Result batchUpdate(@RequestBody List<ProductProcessBatchDet> productProcessBatchDetList) {
 | 
			
		||||
        productProcessBatchDetService.batchUpdate(productProcessBatchDetList);
 | 
			
		||||
        return ResultGenerator.genSuccessResult();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user