提交代码
This commit is contained in:
parent
96b989d7b3
commit
e77cd63ae0
|
|
@ -15,6 +15,8 @@ import lombok.EqualsAndHashCode;
|
|||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @auther: zhao
|
||||
|
|
@ -59,4 +61,8 @@ public class Template extends BaseEntity {
|
|||
@Condition(name = "template_type")
|
||||
@DictFormat(dictType = "template_type")
|
||||
private String templateType;
|
||||
|
||||
@TableField(exist = false)
|
||||
@Condition(name = "create_time", type = Condition.ConditionType.between)
|
||||
private List<String> disposeTime;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ public class WrkProject extends BaseEntity {
|
|||
@TableField(exist = false)
|
||||
@Condition(name = "create_time", type = Condition.ConditionType.between)
|
||||
@JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
|
||||
private List<LocalDateTime> createTimes;
|
||||
private List<String> createTimes;
|
||||
/**
|
||||
* 项目对应的 合同集合
|
||||
*/
|
||||
|
|
@ -141,4 +141,5 @@ public class WrkProject extends BaseEntity {
|
|||
private String contractUrl;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,4 +39,9 @@ public class WrkAuditRuleQuery extends CommonParam {
|
|||
private String name;
|
||||
|
||||
|
||||
|
||||
@Condition(name = "create_time", type = Condition.ConditionType.between)
|
||||
private List<String> createTime;
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,6 +17,6 @@ public class ListDeptDTO extends CommonParam {
|
|||
|
||||
private String deptName;
|
||||
|
||||
private Boolean status;
|
||||
private Integer status;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ public class ListMenuDTO extends CommonParam {
|
|||
/**
|
||||
* 状态
|
||||
*/
|
||||
private boolean status;
|
||||
private Integer status;
|
||||
/**
|
||||
* 是否隐藏
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ import java.util.Objects;
|
|||
public class ListRoleDTO extends CommonParam {
|
||||
private String roleName;
|
||||
private String roleKey;
|
||||
private Boolean status;
|
||||
private Integer status;
|
||||
private Params params;
|
||||
|
||||
@Data
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ public class RoleController {
|
|||
public AjaxResult list(
|
||||
@RequestParam(required = false) String roleName,
|
||||
@RequestParam(required = false) String roleKey,
|
||||
@RequestParam(required = false) Boolean status,
|
||||
@RequestParam(required = false) Integer status,
|
||||
@RequestParam(required = false) String beginTime,
|
||||
@RequestParam(required = false) String endTime
|
||||
) {
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
<if test="deptName != null and deptName != ''">
|
||||
AND d.dept_name like concat('%', #{deptName}, '%')
|
||||
</if>
|
||||
<if test="status != null and status != ''">
|
||||
<if test="status != null ">
|
||||
AND d.status = #{status}
|
||||
</if>
|
||||
<!-- 数据范围过滤 -->
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@
|
|||
<if test="visible != null and visible != ''">
|
||||
AND visible = #{visible}
|
||||
</if>
|
||||
<if test="status != null and status != ''">
|
||||
<if test="status != null ">
|
||||
AND status = #{status}
|
||||
</if>
|
||||
order by parent_id, order_num
|
||||
|
|
@ -100,7 +100,7 @@
|
|||
<if test="visible != null and visible != ''">
|
||||
AND m.visible = #{visible}
|
||||
</if>
|
||||
<if test="status != null and status != ''">
|
||||
<if test="status != null ">
|
||||
AND m.status = #{status}
|
||||
</if>
|
||||
order by m.parent_id, m.order_num
|
||||
|
|
|
|||
Loading…
Reference in New Issue