保洁订单详情
This commit is contained in:
parent
147c67b5ad
commit
4a20ec11db
@ -35,7 +35,7 @@ public class CleanOrder extends TenantEntity {
|
||||
/**
|
||||
* 位置
|
||||
*/
|
||||
private String location;
|
||||
private Long location;
|
||||
|
||||
/**
|
||||
* 面积
|
||||
|
@ -38,7 +38,7 @@ public class CleanOrderBo extends BaseEntity {
|
||||
* 位置
|
||||
*/
|
||||
// @NotBlank(message = "位置不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private String location;
|
||||
private Long location;
|
||||
|
||||
/**
|
||||
* 面积
|
||||
|
@ -43,7 +43,7 @@ public class CleanOrderVo implements Serializable {
|
||||
* 位置
|
||||
*/
|
||||
@ExcelProperty(value = "位置")
|
||||
private String location;
|
||||
private Long location;
|
||||
|
||||
/**
|
||||
* 面积
|
||||
@ -126,5 +126,7 @@ public class CleanOrderVo implements Serializable {
|
||||
|
||||
private List<Clean> cleanList;
|
||||
|
||||
private String unitName;
|
||||
|
||||
|
||||
}
|
||||
|
@ -110,7 +110,7 @@ public class CleanOrderServiceImpl implements ICleanOrderService {
|
||||
Map<String, Object> params = bo.getParams();
|
||||
LambdaQueryWrapper<CleanOrder> lqw = Wrappers.lambdaQuery();
|
||||
lqw.orderByAsc(CleanOrder::getId);
|
||||
lqw.eq(StringUtils.isNotBlank(bo.getLocation()), CleanOrder::getLocation, bo.getLocation());
|
||||
// lqw.eq(StringUtils.isNotBlank(bo.getLocation()), CleanOrder::getLocation, bo.getLocation());
|
||||
// lqw.eq(StringUtils.isNotBlank(bo.getArea()), CleanOrder::getArea, bo.getArea());
|
||||
|
||||
// lqw.eq(bo.getCleanIds() != null, CleanOrder::getCleanId, bo.getCleanIds());
|
||||
|
@ -8,7 +8,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
SELECT
|
||||
co.*,
|
||||
c.*,
|
||||
ru.name name,ru.id unitId
|
||||
ru.name unitName,ru.id unitId
|
||||
FROM
|
||||
clean_order co
|
||||
LEFT JOIN clean c ON co.clean_id = c.id
|
||||
|
Loading…
Reference in New Issue
Block a user