明细批量修改更新接口 未完成

This commit is contained in:
hy2250089 2020-03-25 22:12:00 +08:00
parent 51b3204991
commit fb085cdeba
4 changed files with 17 additions and 1 deletions

View File

@ -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,

View File

@ -21,4 +21,6 @@ public interface ProductProcessBatchDetService extends Service<ProductProcessBat
List<ProductProcessBatchDetVo> findListByProductProcess(ProductProcessParams params);
ProductProcessBatchDet findBatchDetById(ProductProcessBatchDetParams batchDetParams);
void batchUpdate(List<ProductProcessBatchDet> productProcessBatchDetList);
}

View File

@ -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) {
}
}

View File

@ -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();
}
}