批次生产加工日期变量类型修改
This commit is contained in:
parent
b8c8a97523
commit
4047e7396e
@ -109,7 +109,7 @@
|
|||||||
OR client.client_name LIKE CONCAT('%', #{keywords}, '%')
|
OR client.client_name LIKE CONCAT('%', #{keywords}, '%')
|
||||||
OR prodproc.contract_name LIKE CONCAT('%', #{keywords}, '%')
|
OR prodproc.contract_name LIKE CONCAT('%', #{keywords}, '%')
|
||||||
</if>
|
</if>
|
||||||
<if test="createDate != null">
|
<if test="createDate != null and createDate != ''">
|
||||||
AND DATE_FORMAT(prodproc.create_time,'%Y-%m-%d') = DATE_FORMAT(#{createDate}, '%Y-%m-%d')
|
AND DATE_FORMAT(prodproc.create_time,'%Y-%m-%d') = DATE_FORMAT(#{createDate}, '%Y-%m-%d')
|
||||||
</if>
|
</if>
|
||||||
<if test="companyId != null">
|
<if test="companyId != null">
|
||||||
|
@ -11,8 +11,7 @@ import java.util.Date;
|
|||||||
public class ProductProcessParams extends QueryParams {
|
public class ProductProcessParams extends QueryParams {
|
||||||
private Integer productProcessId;
|
private Integer productProcessId;
|
||||||
|
|
||||||
@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
|
private String createDate;
|
||||||
private Date createDate;
|
|
||||||
|
|
||||||
public Integer getProductProcessId() {
|
public Integer getProductProcessId() {
|
||||||
return productProcessId;
|
return productProcessId;
|
||||||
@ -22,11 +21,11 @@ public class ProductProcessParams extends QueryParams {
|
|||||||
this.productProcessId = productProcessId;
|
this.productProcessId = productProcessId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Date getCreateDate() {
|
public String getCreateDate() {
|
||||||
return createDate;
|
return createDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCreateDate(Date createDate) {
|
public void setCreateDate(String createDate) {
|
||||||
this.createDate = createDate;
|
this.createDate = createDate;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -91,7 +91,7 @@ public class ProductProcessController {
|
|||||||
*/
|
*/
|
||||||
@ApiOperation(value = "批次生产加工单分页查询", notes = "批次生产加工单分页查询")
|
@ApiOperation(value = "批次生产加工单分页查询", notes = "批次生产加工单分页查询")
|
||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "createDate", value = "创建时间", paramType = "query", dataType = "Date", required = false),
|
@ApiImplicitParam(name = "createDate", value = "创建时间", paramType = "query", dataType = "String", required = false),
|
||||||
@ApiImplicitParam(name = "keywords", value = "关键字", paramType = "query", dataType = "String", required = false),
|
@ApiImplicitParam(name = "keywords", value = "关键字", paramType = "query", dataType = "String", required = false),
|
||||||
@ApiImplicitParam(name = "companyId", value = "公司id", paramType = "query", dataType = "int", required = false)
|
@ApiImplicitParam(name = "companyId", value = "公司id", paramType = "query", dataType = "int", required = false)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user