|
|
|
@ -80,15 +80,16 @@ public class GoodsTaskServiceImpl implements GoodsTaskService { |
|
|
|
} |
|
|
|
//查询是否存在商品
|
|
|
|
Goods dbgoods =goodsMapper.getGoodsByIsliCode(islicode); |
|
|
|
String opmsg="";//操作信息
|
|
|
|
if(dbgoods!=null){ |
|
|
|
String opmsg=sdf.format(new Date())+" "; |
|
|
|
String nowstr=sdf.format(new Date())+" "; |
|
|
|
//审核通过,更新对应的状态
|
|
|
|
if(verifyStatus==1){ |
|
|
|
int apout = dbgoods.getApplyOut()==1?1:0; |
|
|
|
String tmsg =(apout==1)?"申请撤销委托审核通过":"委托系统撤销委托"; |
|
|
|
opmsg=tmsg+""; |
|
|
|
opmsg=nowstr+tmsg; |
|
|
|
}else{ |
|
|
|
opmsg=opmsg+"委托系统撤销委托"; |
|
|
|
opmsg=nowstr+"委托系统撤销委托"; |
|
|
|
} |
|
|
|
//apply_out 为0时候, 执行代码
|
|
|
|
if(dbgoods.getApplyOut()==0){ |
|
|
|
|