|
|
|
@ -42,9 +42,9 @@ public class GoodsTaskServiceImpl implements GoodsTaskService { |
|
|
|
//查询是否存在商品
|
|
|
|
Goods dbgoods =goodsMapper.getGoodsByIsliCode(islicode); |
|
|
|
// 如果商品存在,执行撤销操作
|
|
|
|
if(dbgoods!=null){ |
|
|
|
if(dbgoods!=null && dbgoods.getApplyOut()==0){ |
|
|
|
//更新状态
|
|
|
|
goodsMapper.updateRevocationGoods(islicode); |
|
|
|
goodsMapper.updateRevocationGoods(dbgoods.getId().toString()); |
|
|
|
//构建操作日志
|
|
|
|
OperationLog oplog = new OperationLog(); |
|
|
|
oplog.setType("goods"); |
|
|
|
|