|
|
@ -62,13 +62,13 @@ public class HighOrderPreServiceImpl implements HighOrderPreService { |
|
|
|
criteria.andPreUserPhoneEqualTo(MapUtils.getString(map, "userPhone")); |
|
|
|
criteria.andPreUserPhoneEqualTo(MapUtils.getString(map, "userPhone")); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
<<<<<<< HEAD |
|
|
|
|
|
|
|
if (StringUtils.isNotBlank(MapUtils.getString(map,"createTimeS")) |
|
|
|
if (StringUtils.isNotBlank(MapUtils.getString(map,"createTimeS")) |
|
|
|
&& StringUtils.isNotBlank(MapUtils.getString(map,"createTimeE"))) { |
|
|
|
&& StringUtils.isNotBlank(MapUtils.getString(map,"createTimeE"))) { |
|
|
|
criteria.andCreateTimeBetween( |
|
|
|
criteria.andCreateTimeBetween( |
|
|
|
DateUtil.format(MapUtils.getString(map,"createTimeS") , "yyyy-MM-dd HH:mm:ss") , |
|
|
|
DateUtil.format(MapUtils.getString(map,"createTimeS") , "yyyy-MM-dd HH:mm:ss") , |
|
|
|
DateUtil.format(MapUtils.getString(map,"createTimeE") , "yyyy-MM-dd HH:mm:ss")); |
|
|
|
DateUtil.format(MapUtils.getString(map,"createTimeE") , "yyyy-MM-dd HH:mm:ss")); |
|
|
|
======= |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (MapUtils.getString(map, "preOrderNo") != null) { |
|
|
|
if (MapUtils.getString(map, "preOrderNo") != null) { |
|
|
|
criteria.andPreOrderNoLike("%" + MapUtils.getString(map, "preOrderNo") + "%"); |
|
|
|
criteria.andPreOrderNoLike("%" + MapUtils.getString(map, "preOrderNo") + "%"); |
|
|
|
} |
|
|
|
} |
|
|
@ -77,13 +77,6 @@ public class HighOrderPreServiceImpl implements HighOrderPreService { |
|
|
|
criteria.andPreUserNameLike("%" + MapUtils.getString(map, "preUserName") + "%"); |
|
|
|
criteria.andPreUserNameLike("%" + MapUtils.getString(map, "preUserName") + "%"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (MapUtils.getString(map , "createTimeS") !=null && MapUtils.getString(map , "createTimeE") != null) { |
|
|
|
|
|
|
|
criteria.andCreateTimeBetween( |
|
|
|
|
|
|
|
DateUtil.format(MapUtils.getString(map , "createTimeS") , "yyyy-MM-dd HH:mm:ss") , |
|
|
|
|
|
|
|
DateUtil.format(MapUtils.getString(map , "createTimeE") , "yyyy-MM-dd HH:mm:ss")); |
|
|
|
|
|
|
|
>>>>>>> 635a7e3af19c875fe2f81995c7898dd251b70d32 |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return highOrderPreMapper.selectByExample(example); |
|
|
|
return highOrderPreMapper.selectByExample(example); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -92,6 +85,17 @@ public class HighOrderPreServiceImpl implements HighOrderPreService { |
|
|
|
return highOrderPreMapper.selectByPrimaryKey(orderId); |
|
|
|
return highOrderPreMapper.selectByPrimaryKey(orderId); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public HighOrderPre getPreByOrderId(Long orderId) { |
|
|
|
|
|
|
|
HighOrderPreExample example = new HighOrderPreExample(); |
|
|
|
|
|
|
|
example.createCriteria().andOrderIdEqualTo(orderId); |
|
|
|
|
|
|
|
List<HighOrderPre> list = highOrderPreMapper.selectByExample(example); |
|
|
|
|
|
|
|
if (list.size() > 0) { |
|
|
|
|
|
|
|
return list.get(0); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return null; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public HighOrderPre findByOrderNo(String orderNo) { |
|
|
|
public HighOrderPre findByOrderNo(String orderNo) { |
|
|
|
return null; |
|
|
|
return null; |
|
|
@ -99,11 +103,8 @@ public class HighOrderPreServiceImpl implements HighOrderPreService { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void insertOrderPre(HighOrderPre highOrderPre) { |
|
|
|
public void insertOrderPre(HighOrderPre highOrderPre) { |
|
|
|
<<<<<<< HEAD |
|
|
|
|
|
|
|
highOrderPre.setCreateTime(new Date()); |
|
|
|
highOrderPre.setCreateTime(new Date()); |
|
|
|
highOrderPre.setUpdateTime(new Date()); |
|
|
|
highOrderPre.setUpdateTime(new Date()); |
|
|
|
======= |
|
|
|
|
|
|
|
>>>>>>> 635a7e3af19c875fe2f81995c7898dd251b70d32 |
|
|
|
|
|
|
|
highOrderPreMapper.insert(highOrderPre); |
|
|
|
highOrderPreMapper.insert(highOrderPre); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|