Compare commits
2 Commits
d429148a20
...
3592c071a5
| Author | SHA1 | Date |
|---|---|---|
|
|
3592c071a5 | |
|
|
2e5c9fd80a |
|
|
@ -33,13 +33,14 @@ public class StoreQuery extends CommonParam {
|
||||||
/**
|
/**
|
||||||
* 商户编号
|
* 商户编号
|
||||||
*/
|
*/
|
||||||
@Condition(name = "store_no")
|
@Condition(name = "store_no", type = Condition.ConditionType.eq, tableName = "s")
|
||||||
@Size(max = 64, message = "商户编号不能超过64个字符")
|
@Size(max = 64, message = "商户编号不能超过64个字符")
|
||||||
private String storeNo;
|
private String storeNo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 终端编号
|
* 终端编号
|
||||||
*/
|
*/
|
||||||
|
@Condition(name = "terminal_no", type = Condition.ConditionType.eq, tableName = "s")
|
||||||
@Size(max = 30, message = "终端sn号不能超过30个字符")
|
@Size(max = 30, message = "终端sn号不能超过30个字符")
|
||||||
private String terminalNo;
|
private String terminalNo;
|
||||||
|
|
||||||
|
|
@ -71,13 +72,14 @@ public class StoreQuery extends CommonParam {
|
||||||
/**
|
/**
|
||||||
* 终端sn号
|
* 终端sn号
|
||||||
*/
|
*/
|
||||||
|
@Condition(name = "terminal_sn", type = Condition.ConditionType.eq, tableName = "s")
|
||||||
@Size(max = 100, message = "终端sn号不能超过100个字符")
|
@Size(max = 100, message = "终端sn号不能超过100个字符")
|
||||||
private String terminalSn;
|
private String terminalSn;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 商户名称
|
* 商户名称
|
||||||
*/
|
*/
|
||||||
@Condition(name = "store_name", type = Condition.ConditionType.like)
|
@Condition(name = "store_name", type = Condition.ConditionType.like, tableName = "s")
|
||||||
@Size(max = 128, message = "商户名称不能超过128个字符")
|
@Size(max = 128, message = "商户名称不能超过128个字符")
|
||||||
private String storeName;
|
private String storeName;
|
||||||
|
|
||||||
|
|
@ -112,7 +114,7 @@ public class StoreQuery extends CommonParam {
|
||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
*/
|
*/
|
||||||
@Condition(name = "create_time", type = Condition.ConditionType.between)
|
@Condition(name = "create_time", type = Condition.ConditionType.between, tableName = "s")
|
||||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
private List<LocalDateTime> createTime;
|
private List<LocalDateTime> createTime;
|
||||||
|
|
||||||
|
|
@ -131,7 +133,7 @@ public class StoreQuery extends CommonParam {
|
||||||
/**
|
/**
|
||||||
* 门店名称
|
* 门店名称
|
||||||
*/
|
*/
|
||||||
@Condition(name = "shop_name", type = Condition.ConditionType.like)
|
@Condition(name = "shop_name", type = Condition.ConditionType.like, tableName = "s")
|
||||||
@Size(max = 128, message = "门店名称不能超过128个字符")
|
@Size(max = 128, message = "门店名称不能超过128个字符")
|
||||||
private String shopName;
|
private String shopName;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -138,6 +138,8 @@ public class StoreVO implements Serializable {
|
||||||
*/
|
*/
|
||||||
@DictFormat(dictType = "mer_status")
|
@DictFormat(dictType = "mer_status")
|
||||||
private Integer storeStatus;
|
private Integer storeStatus;
|
||||||
|
|
||||||
|
private Integer isEnter;
|
||||||
/**
|
/**
|
||||||
* 终端数量
|
* 终端数量
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ public class WrkInfoQuery extends CommonParam {
|
||||||
/**
|
/**
|
||||||
* 工单编号
|
* 工单编号
|
||||||
*/
|
*/
|
||||||
@Condition(name = "work_no", tableName = "i")
|
@Condition(name = "wrk_no", tableName = "i")
|
||||||
private String workNo;
|
private String workNo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -66,6 +66,10 @@ public class WrkInfoQuery extends CommonParam {
|
||||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = DatePattern.NORM_DATETIME_PATTERN)
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = DatePattern.NORM_DATETIME_PATTERN)
|
||||||
private List<LocalDateTime> disposeTime;
|
private List<LocalDateTime> disposeTime;
|
||||||
|
|
||||||
|
@Condition(name = "create_time", type = Condition.ConditionType.between, tableName = "i")
|
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = DatePattern.NORM_DATETIME_PATTERN)
|
||||||
|
private List<LocalDateTime> createTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 工单状态
|
* 工单状态
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@
|
||||||
s.create_time AS createTime,
|
s.create_time AS createTime,
|
||||||
s.dept_id AS deptId,
|
s.dept_id AS deptId,
|
||||||
s.state AS storeStatus,
|
s.state AS storeStatus,
|
||||||
|
s.is_enter AS isEnter,
|
||||||
pt1.`name` AS taskName,
|
pt1.`name` AS taskName,
|
||||||
pt2.`name` AS totalTaskName,
|
pt2.`name` AS totalTaskName,
|
||||||
(select COUNT(*) from st_terminal where s.del_state = 0 AND s.store_id = store_id) AS countTerminal
|
(select COUNT(*) from st_terminal where s.del_state = 0 AND s.store_id = store_id) AS countTerminal
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue