691b55e8 张雷

Merge remote-tracking branch 'origin/master' into master

2 个父辈 2887b3e8 ba7a873e
...@@ -135,6 +135,13 @@ public class EmergencyRiskEventController { ...@@ -135,6 +135,13 @@ public class EmergencyRiskEventController {
135 Result<IPage<EmergencyRiskEvent>> result = new Result<IPage<EmergencyRiskEvent>>(); 135 Result<IPage<EmergencyRiskEvent>> result = new Result<IPage<EmergencyRiskEvent>>();
136 QueryWrapper<EmergencyRiskEvent> queryWrapper = QueryGenerator.initQueryWrapper(emergencyRiskEvent, req.getParameterMap()); 136 QueryWrapper<EmergencyRiskEvent> queryWrapper = QueryGenerator.initQueryWrapper(emergencyRiskEvent, req.getParameterMap());
137 Page<EmergencyRiskEvent> page = new Page<EmergencyRiskEvent>(pageNo, pageSize); 137 Page<EmergencyRiskEvent> page = new Page<EmergencyRiskEvent>(pageNo, pageSize);
138
139 if(StringUtils.isNotEmpty(emergencyRiskEvent.getStartTime())){
140 queryWrapper.ge("report_date",emergencyRiskEvent.getStartTime());
141 }
142 if(StringUtils.isNotEmpty(emergencyRiskEvent.getEndTime())){
143 queryWrapper.le("report_date",emergencyRiskEvent.getEndTime());
144 }
138 IPage<EmergencyRiskEvent> pageList = emergencyRiskEventService.page(page, queryWrapper); 145 IPage<EmergencyRiskEvent> pageList = emergencyRiskEventService.page(page, queryWrapper);
139 146
140 //获取流程状态 147 //获取流程状态
...@@ -189,7 +196,7 @@ public class EmergencyRiskEventController { ...@@ -189,7 +196,7 @@ public class EmergencyRiskEventController {
189 * <pre> 196 * <pre>
190 * 编辑 197 * 编辑
191 * </pre> 198 * </pre>
192 * @param emergencyRiskEvent 199 * @param
193 * @return 200 * @return
194 * @author 开发者姓名, 开发时间 201 * @author 开发者姓名, 开发时间
195 * @Description: TODO(这里描述这个方法的需求变更情况) 202 * @Description: TODO(这里描述这个方法的需求变更情况)
......
...@@ -39,9 +39,11 @@ public class EmergencyPlanData { ...@@ -39,9 +39,11 @@ public class EmergencyPlanData {
39 @Excel(name = "编制单位", width = 15) 39 @Excel(name = "编制单位", width = 15)
40 @ApiModelProperty(value = "编制单位") 40 @ApiModelProperty(value = "编制单位")
41 private String prepareTheCompany; 41 private String prepareTheCompany;
42
42 /**类型:(0-应急预案,1-历史成果,2-资料库)*/ 43 /**类型:(0-应急预案,1-历史成果,2-资料库)*/
43 @Excel(name = "类型:(0-应急预案,1-历史成果,2-资料库)", width = 15) 44 @Excel(name = "类型:(0-应急预案,1-历史成果,2-资料库)", width = 15)
44 @ApiModelProperty(value = "类型:(0-应急预案,1-历史成果,2-资料库)") 45 @ApiModelProperty(value = "类型:(0-应急预案,1-历史成果,2-资料库)")
46 @Dict(dicCode = "plan_type")
45 private String docType; 47 private String docType;
46 /**隐患类型(数据字典类型rectification_info_classify)*/ 48 /**隐患类型(数据字典类型rectification_info_classify)*/
47 @Dict(dicCode = "rectification_info_classify") 49 @Dict(dicCode = "rectification_info_classify")
......
...@@ -133,7 +133,7 @@ mybatis-plus: ...@@ -133,7 +133,7 @@ mybatis-plus:
133 configuration: 133 configuration:
134 call-setters-on-nulls: true 134 call-setters-on-nulls: true
135 # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用 135 # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
136 # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl 136 #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
137 #数矿专用配置 137 #数矿专用配置
138 skua: 138 skua:
139 web-url: http://103.85.171.27:8096 139 web-url: http://103.85.171.27:8096
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!