parent
6774a7746a
commit
4b606ff361
|
@ -95,7 +95,7 @@ public class DeliveryOrderPluginInitializer extends PluginBaseEntity {
|
|||
**/
|
||||
@Override
|
||||
public JsonResultEntity executeBusiness(JSONObject requestJson) throws Exception {
|
||||
logger.info("开始执行"+getPluginName());
|
||||
logger.info("开始执行"+getPluginName()+requestJson.toString());
|
||||
String res = deliveryOrderPluginService.sync2wms(requestJson);
|
||||
return BaseResult.getSuccessMessageEntity("操作成功");
|
||||
}
|
||||
|
|
|
@ -96,7 +96,7 @@ public class MomOrderPluginInitializer extends PluginBaseEntity {
|
|||
**/
|
||||
@Override
|
||||
public JsonResultEntity executeBusiness(JSONObject requestJson) throws Exception {
|
||||
logger.info("开始执行"+getPluginName());
|
||||
logger.info("开始执行"+getPluginName()+requestJson.toString());
|
||||
momOrderPluginService.sync2wms(requestJson);
|
||||
return BaseResult.getSuccessMessageEntity("执行成功");
|
||||
}
|
||||
|
|
|
@ -52,9 +52,9 @@ public class DeliveryOrderPluginServiceImpl extends KjsPluginBaseService impleme
|
|||
//数据源编码
|
||||
String datasourceCode = requestJson.getString("sourceCode");
|
||||
//开始时间
|
||||
String startTime = requestJson.getString("startTime");
|
||||
String startTime = DateUtil.format(requestJson.getDate("startTime"),"yyyy-MM-dd HH:mm:ss");
|
||||
//结束时间
|
||||
String endTime = requestJson.getString("endTime");
|
||||
String endTime = DateUtil.format(requestJson.getDate("endTime"),"yyyy-MM-dd HH:mm:ss");
|
||||
//1 查询发货单主表
|
||||
DeliveryOrderEntity orderEntity = new DeliveryOrderEntity();
|
||||
orderEntity.setDataSourceCode(datasourceCode);
|
||||
|
|
|
@ -52,9 +52,9 @@ public class MomOrderPluginServiceImpl extends KjsPluginBaseService implements I
|
|||
//数据源编码
|
||||
String datasourceCode = requestJson.getString("sourceCode");
|
||||
//开始时间
|
||||
String startTime = requestJson.getString("startTime");
|
||||
String startTime = DateUtil.format(requestJson.getDate("startTime"),"yyyy-MM-dd HH:mm:ss");
|
||||
//结束时间
|
||||
String endTime = requestJson.getString("endTime");
|
||||
String endTime = DateUtil.format(requestJson.getDate("endTime"),"yyyy-MM-dd HH:mm:ss");
|
||||
|
||||
MomOrderEntity entity = new MomOrderEntity();
|
||||
entity.setDataSourceCode(datasourceCode);
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
package com.hzya.frame.u8.delivery.entity;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.hzya.frame.web.entity.BaseEntity;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
/**
|
||||
* @Description U8发货单
|
||||
|
@ -44,7 +46,11 @@ public class DeliveryOrderEntity extends BaseEntity {
|
|||
//帐套名
|
||||
private String dbname;
|
||||
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private String startTime;//定时任务执行时传入的开始时间
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private String endTime;//定时任务执行时传入的结束时间
|
||||
|
||||
public String getDlid() {
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
package com.hzya.frame.u8.production.entity;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.hzya.frame.web.entity.BaseEntity;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
/**
|
||||
* @Description u8生产订单表头 mom_order
|
||||
|
@ -26,7 +28,11 @@ public class MomOrderEntity extends BaseEntity {
|
|||
private String pushFlagField;
|
||||
//帐套名
|
||||
private String dbname;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private String startTime;//定时任务执行时传入的开始时间
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private String endTime;//定时任务执行时传入的结束时间
|
||||
public String getMoId() {
|
||||
return moId;
|
||||
|
|
Loading…
Reference in New Issue