Compare commits

...

2 Commits

Author SHA1 Message Date
likewei 3592c071a5 Merge remote-tracking branch 'origin/master' 2024-08-20 11:44:11 +08:00
likewei 2e5c9fd80a 修改bug 2024-08-20 11:44:03 +08:00
4 changed files with 14 additions and 5 deletions

View File

@ -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个字符")
private String storeNo;
/**
* 终端编号
*/
@Condition(name = "terminal_no", type = Condition.ConditionType.eq, tableName = "s")
@Size(max = 30, message = "终端sn号不能超过30个字符")
private String terminalNo;
@ -71,13 +72,14 @@ public class StoreQuery extends CommonParam {
/**
* 终端sn号
*/
@Condition(name = "terminal_sn", type = Condition.ConditionType.eq, tableName = "s")
@Size(max = 100, message = "终端sn号不能超过100个字符")
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个字符")
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")
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个字符")
private String shopName;

View File

@ -138,6 +138,8 @@ public class StoreVO implements Serializable {
*/
@DictFormat(dictType = "mer_status")
private Integer storeStatus;
private Integer isEnter;
/**
* 终端数量
*/

View File

@ -22,7 +22,7 @@ public class WrkInfoQuery extends CommonParam {
/**
* 工单编号
*/
@Condition(name = "work_no", tableName = "i")
@Condition(name = "wrk_no", tableName = "i")
private String workNo;
/**
@ -66,6 +66,10 @@ public class WrkInfoQuery extends CommonParam {
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = DatePattern.NORM_DATETIME_PATTERN)
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;
/**
* 工单状态
*/

View File

@ -21,6 +21,7 @@
s.create_time AS createTime,
s.dept_id AS deptId,
s.state AS storeStatus,
s.is_enter AS isEnter,
pt1.`name` AS taskName,
pt2.`name` AS totalTaskName,
(select COUNT(*) from st_terminal where s.del_state = 0 AND s.store_id = store_id) AS countTerminal