|
|
|
@ -85,16 +85,7 @@ public class IoOrderDetailBizServiceImpl implements IoOrderDetailBizService {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public IoOrderDetailBizEntity findByUnique(String orderId, Long relId, String bacthNo, String productDate, String expireDate) {
|
|
|
|
|
return ioOrderDetailBizDao.selectOne(new QueryWrapper<IoOrderDetailBizEntity>()
|
|
|
|
|
.eq("orderIdFk", orderId).eq("bindRlFk", relId)
|
|
|
|
|
.eq(StrUtil.isNotEmpty(bacthNo), "batchNo", bacthNo)
|
|
|
|
|
.isNull(StrUtil.isEmpty(bacthNo), "batchNo")
|
|
|
|
|
.eq(StrUtil.isNotEmpty(productDate), "productDate", productDate)
|
|
|
|
|
.isNull(StrUtil.isEmpty(productDate), "productDate")
|
|
|
|
|
.eq(StrUtil.isNotEmpty(expireDate), "expireDate", expireDate)
|
|
|
|
|
.isNull(StrUtil.isEmpty(expireDate), "expireDate")
|
|
|
|
|
|
|
|
|
|
);
|
|
|
|
|
return ioOrderDetailBizDao.selectOrderDetailBiz(orderId, relId, bacthNo, productDate, expireDate);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|