| | |
| | | SysUser sysUser = sysUserClient.getSysUser(userid).getData(); |
| | | GoodsBargainPrice bargainPrice = this.getOne(new LambdaQueryWrapper<GoodsBargainPrice>().eq(GoodsBargainPrice::getShopId, sysUser.getObjectId()) |
| | | .eq(GoodsBargainPrice::getGoodsId, vo.getGoodsId()).eq(GoodsBargainPrice::getDelFlag, 0).last(" order by create_time desc limit 0, 1")); |
| | | if(null != bargainPrice && 1 == bargainPrice.getAuditStatus()){ |
| | | if(null != bargainPrice && 0 == bargainPrice.getAuditStatus()){ |
| | | return R.fail("特价申请正在审核中"); |
| | | } |
| | | bargainPrice = new GoodsBargainPrice(); |