|
|
|
@ -86,18 +86,22 @@ public class GoodsTaskServiceImpl implements GoodsTaskService { |
|
|
|
if(verifyStatus==1){ |
|
|
|
int apout = dbgoods.getApplyOut()==1?1:0; |
|
|
|
String tmsg =(apout==1)?"申请撤销委托审核通过":"委托系统撤销委托"; |
|
|
|
opmsg=opmsg+""; |
|
|
|
opmsg=tmsg+""; |
|
|
|
}else{ |
|
|
|
opmsg=opmsg+"委托系统撤销委托"; |
|
|
|
} |
|
|
|
//更新状态
|
|
|
|
goodsMapper.updateRevocationGoods(islicode); |
|
|
|
//构建操作日志
|
|
|
|
OperationLog oplog = new OperationLog(); |
|
|
|
oplog.setType("goods"); |
|
|
|
oplog.setLogid(dbgoods.getId()); |
|
|
|
oplog.setMessage(opmsg); |
|
|
|
operationLogMapper.addLog(oplog); |
|
|
|
//apply_out 为0时候, 执行代码
|
|
|
|
if(dbgoods.getApplyOut()==0){ |
|
|
|
//更新状态
|
|
|
|
goodsMapper.updateRevocationGoods(islicode); |
|
|
|
//构建操作日志
|
|
|
|
OperationLog oplog = new OperationLog(); |
|
|
|
oplog.setType("goods"); |
|
|
|
oplog.setLogid(dbgoods.getId()); |
|
|
|
oplog.setMessage(opmsg); |
|
|
|
operationLogMapper.addLog(oplog); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|