增加修改客户重新同步功能
This commit is contained in:
@@ -0,0 +1,114 @@
|
||||
package com.bms.price.domain;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/** Async filter-retry progress for billing tasks (Redis). */
|
||||
public class PrcBillingTaskRetryTask implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public static final String STATUS_PENDING = "PENDING";
|
||||
public static final String STATUS_RUNNING = "RUNNING";
|
||||
public static final String STATUS_SUCCESS = "SUCCESS";
|
||||
public static final String STATUS_FAIL = "FAIL";
|
||||
|
||||
private String taskId;
|
||||
private String status;
|
||||
private int percent;
|
||||
private String message;
|
||||
private int total;
|
||||
private int processed;
|
||||
private int ok;
|
||||
private int fail;
|
||||
private String error;
|
||||
|
||||
public String getTaskId()
|
||||
{
|
||||
return taskId;
|
||||
}
|
||||
|
||||
public void setTaskId(String taskId)
|
||||
{
|
||||
this.taskId = taskId;
|
||||
}
|
||||
|
||||
public String getStatus()
|
||||
{
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status)
|
||||
{
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public int getPercent()
|
||||
{
|
||||
return percent;
|
||||
}
|
||||
|
||||
public void setPercent(int percent)
|
||||
{
|
||||
this.percent = percent;
|
||||
}
|
||||
|
||||
public String getMessage()
|
||||
{
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(String message)
|
||||
{
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public int getTotal()
|
||||
{
|
||||
return total;
|
||||
}
|
||||
|
||||
public void setTotal(int total)
|
||||
{
|
||||
this.total = total;
|
||||
}
|
||||
|
||||
public int getProcessed()
|
||||
{
|
||||
return processed;
|
||||
}
|
||||
|
||||
public void setProcessed(int processed)
|
||||
{
|
||||
this.processed = processed;
|
||||
}
|
||||
|
||||
public int getOk()
|
||||
{
|
||||
return ok;
|
||||
}
|
||||
|
||||
public void setOk(int ok)
|
||||
{
|
||||
this.ok = ok;
|
||||
}
|
||||
|
||||
public int getFail()
|
||||
{
|
||||
return fail;
|
||||
}
|
||||
|
||||
public void setFail(int fail)
|
||||
{
|
||||
this.fail = fail;
|
||||
}
|
||||
|
||||
public String getError()
|
||||
{
|
||||
return error;
|
||||
}
|
||||
|
||||
public void setError(String error)
|
||||
{
|
||||
this.error = error;
|
||||
}
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
package com.bms.price.domain.vo;
|
||||
|
||||
import java.io.Serializable;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* Filter for async batch retry of billing tasks.
|
||||
* Require customerCode + billTime range to avoid full-table resync.
|
||||
*/
|
||||
@Data
|
||||
public class BillingTaskRetryByFilterRequest implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** Customer code (exact match) */
|
||||
private String customerCode;
|
||||
/** Bill time start yyyy-MM-dd */
|
||||
private String beginTime;
|
||||
/** Bill time end yyyy-MM-dd */
|
||||
private String endTime;
|
||||
/** Optional: FAILED / WAITING / SUCCESS / ALL; default ALL */
|
||||
private String successStatus;
|
||||
/** Optional batch size; server clamps to 20~200, default 50 */
|
||||
private Integer batchSize;
|
||||
}
|
||||
Reference in New Issue
Block a user