1. 流程管家增加记录组件执行耗时的功能

yun-zuoyi
rock.yu 5 years ago
parent 51bae8d1e6
commit b928acae47

@ -0,0 +1,24 @@
package cn.estsh.i3plus.pojo.wms.bean;
import lombok.Data;
/**
* @Description :
* @Reference :
* @Author : rock.yu
* @CreateDate : 2020-08-03 20:54
* @Modify:
**/
@Data
public class WmsActionCallResult {
private Object resultObj;
/**
* ms
*/
private Integer duration;
public WmsActionCallResult(Object resultObj, Integer duration) {
this.resultObj = resultObj;
this.duration = duration;
}
}

@ -124,6 +124,10 @@ public class WmsActionLog extends BaseBean {
@ApiParam(value = "结束组件编号", example = "0")
public Long endAmId;
@Column(name = "DURATION")
@ApiParam(value = "执行耗时,单位:毫秒", example = "0")
public Integer duration = 0;
public Long getInitAmId() {
if (initAmId != null) {
return initAmId.longValue();

@ -78,4 +78,8 @@ public class WmsActionLogData extends BaseBean {
@Column(name = "ERROR_MSG", columnDefinition = "TEXT")
@ApiParam(value = "异常信息")
private String errorMsg;
@Column(name = "DURATION")
@ApiParam(value = "执行耗时,单位:毫秒", example = "0")
public Integer duration = 0;
}

@ -116,6 +116,11 @@ public class WmsActionLogDetails extends BaseBean {
@Column(name="MOVE_NO")
@ApiParam(value = "移动单单号")
public String moveNo;
@Column(name = "DURATION")
@ApiParam(value = "执行耗时,单位:毫秒", example = "0")
public Integer duration = 0;
public Long getAsId() {
if (asId != null) {
return asId.longValue();

Loading…
Cancel
Save