修饰审核--代码y优化
This commit is contained in:
parent
7bc0f9f9d5
commit
ee2ccfdef2
|
|
@ -1,5 +1,6 @@
|
|||
package com.bonus.material.repair.controller;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import javax.annotation.Resource;
|
||||
|
|
@ -54,14 +55,15 @@ public class RepairAuditDetailsController extends BaseController {
|
|||
@RequiresPermissions("service:auditing:list")
|
||||
public TableDataInfo questList(RepairAuditDetails repairAuditDetails) {
|
||||
startPage();
|
||||
Map<String, Object> params = repairAuditDetails.getParams();
|
||||
if (params != null && !params.isEmpty()) {
|
||||
String beginTime = (String) params.get("beginTime");
|
||||
String endTime = (String) params.get("endTime");
|
||||
params.put("beginTime", beginTime + " 00:00:00");
|
||||
params.put("endTime", endTime + " 23:59:59");
|
||||
repairAuditDetails.setParams(params);
|
||||
}
|
||||
// Map<String, Object> params = repairAuditDetails.getParams();
|
||||
Map<String, Object> params = new HashMap<>();
|
||||
// if (params != null && !params.isEmpty()) {
|
||||
// String beginTime = (String) params.get("beginTime");
|
||||
// String endTime = (String) params.get("endTime");
|
||||
// params.put("beginTime", beginTime + " 00:00:00");
|
||||
// params.put("endTime", endTime + " 23:59:59");
|
||||
// repairAuditDetails.setParams(params);
|
||||
// }
|
||||
List<ScrapApplyDetailsVO> list = repairAuditDetailsService.selectRepairQuestList(repairAuditDetails);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,21 +5,21 @@ import com.fasterxml.jackson.annotation.JsonFormat;
|
|||
import com.bonus.common.core.annotation.Excel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.ToString;
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 修试审核详细对象 repair_audit_details
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-10-16
|
||||
* @author syruan
|
||||
*/
|
||||
|
||||
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Data
|
||||
@ToString
|
||||
public class RepairAuditDetails extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private static final long serialVersionUID = -8752731235584328836L;
|
||||
|
||||
/** ID */
|
||||
private Long id;
|
||||
|
|
@ -71,8 +71,8 @@ public class RepairAuditDetails extends BaseEntity {
|
|||
private Date auditTime;
|
||||
|
||||
/** 备注备注 */
|
||||
@Excel(name = "备注备注")
|
||||
@ApiModelProperty(value = "备注备注")
|
||||
@Excel(name = "审核备注")
|
||||
@ApiModelProperty(value = "审核备注")
|
||||
private String auditRemark;
|
||||
|
||||
/** 0未审核1已审核2驳回 */
|
||||
|
|
@ -85,5 +85,6 @@ public class RepairAuditDetails extends BaseEntity {
|
|||
@ApiModelProperty(value = "数据所属组织")
|
||||
private Integer companyId;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "关键字")
|
||||
private String keyWord;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue