|
@@ -75,7 +75,7 @@ public class BillGoodsInventoryServiceImpl extends ServiceImpl<BillGoodsInventor
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public Result edit(HttpServletRequest httpServletRequest, String id, String goods, MultipartFile imgUrl, String wayType) throws IOException {
|
|
|
+ public Result edit(HttpServletRequest httpServletRequest, String id, String goods, MultipartFile imgUrl/*, String wayType*/) throws IOException {
|
|
|
|
|
|
DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm");
|
|
|
BillGoodsInventory goodsInventory = inventoryMapper.selectById(id);
|
|
@@ -98,7 +98,7 @@ public class BillGoodsInventoryServiceImpl extends ServiceImpl<BillGoodsInventor
|
|
|
goodsInventory.setGoodsUnit(goodsUnit);
|
|
|
goodsInventory.setBillStatus(1);
|
|
|
goodsInventory.setSubDate(LocalDateTime.now());
|
|
|
- goodsInventory.setWayType(wayType);
|
|
|
+// goodsInventory.setWayType(wayType);
|
|
|
if (ObjectUtil.isNotEmpty(imgUrl)) {
|
|
|
if (uploadImage.getImageCom(imgUrl).equals("上传失败")) {
|
|
|
TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
|