添加app接口
This commit is contained in:
parent
af48f636ae
commit
b4d2d2b3b1
|
|
@ -60,6 +60,14 @@ public class InvoicingApi {
|
|||
return Result.OK("添加成功!");
|
||||
}
|
||||
|
||||
@ApiOperation(value="修改购物车请购信息", notes="修改购物车请购信息")
|
||||
@AutoLog(value = "修改购物车请购信息")
|
||||
@PostMapping(value = "/eddShoppingCartList")
|
||||
public Result<String> eddShoppingCartList(@RequestBody QgdInfoEntity qgdInfoEntity) {
|
||||
String result = invoicingApi.eddShoppingCartList(qgdInfoEntity);
|
||||
return Result.OK("修改成功!");
|
||||
}
|
||||
|
||||
@ApiOperation(value="生成采购单预览信息", notes="生成采购单预览信息")
|
||||
@AutoLog(value = "生成采购单预览信息")
|
||||
@PostMapping(value = "/generatedPurchaseViewOrder")
|
||||
|
|
|
|||
|
|
@ -54,4 +54,6 @@ public interface IInvoicingApi {
|
|||
Map<String, Object> getGwcTreeDataWlnum(MaterialCategoryEntity configMaterialCategory);
|
||||
|
||||
Map<String, Object> getCgdTreeDataWlnum(MaterialCategoryEntity configMaterialCategory);
|
||||
|
||||
String eddShoppingCartList(QgdInfoEntity qgdInfoEntity);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -604,4 +604,12 @@ public class NuInvoicingCgdMainServiceImpl extends ServiceImpl<NuInvoicingCgdMai
|
|||
map.put("totalSize",list.size());
|
||||
return map;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String eddShoppingCartList(QgdInfoEntity qgdInfoEntity) {
|
||||
QgdInfo qgdInfo = new QgdInfo();
|
||||
BeanUtils.copyProperties(qgdInfoEntity,qgdInfo);
|
||||
qgdInfoMapper.updateById(qgdInfo);
|
||||
return "1";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue