Commit dba00b96 by xiaoyj

微信待处理提醒create by xiaoyj 2018/4/26

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@21156 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 6c5063d7
......@@ -2583,7 +2583,7 @@ public class OrderServiceImpl implements IOrderService {
* 订单
*/
private void sendReceiptRemind(int userId, SysOrder sysOrder) {
SimpleDateFormat dateFormat = new SimpleDateFormat("yy-MM-dd HH:mm:ss");
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
String time = dateFormat.format(sysOrder.getUpdateTime());
String orderSn = sysOrder.getOrderSn();
// 获取技工
......@@ -2625,7 +2625,7 @@ public class OrderServiceImpl implements IOrderService {
SysOrder order = orderDao.selectByPrimaryKey(id);
// 当前订单不为空且订单状态为已完成
if (order != null && order.getActiveStatus() == 8) {
SimpleDateFormat dateFormat = new SimpleDateFormat("yy-MM-dd HH:mm:ss");
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
String time = dateFormat.format(order.getUpdateTime());
String orderSn = order.getOrderSn();
// 获取技工
......
......@@ -37,7 +37,7 @@ public class OderPendingRemindTask extends QuartzJobBean{
private OderWechatMsgClient oderWechatMsgClient;
private static final Logger logger = LoggerFactory.getLogger(OderPendingRemindTask.class);
private static final SimpleDateFormat dateFormat = new SimpleDateFormat("yy-MM-dd HH:mm:ss");
private static final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
@Override
protected void executeInternal(JobExecutionContext jobExecutionContext) throws JobExecutionException {
logger.info("开始待处理提醒任务。。。。。。");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!