代码更新
This commit is contained in:
@@ -18,6 +18,8 @@ package org.nl.modules.system.domain;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.hibernate.annotations.NotFound;
|
||||
import org.hibernate.annotations.NotFoundAction;
|
||||
import org.nl.base.BaseEntity;
|
||||
|
||||
import javax.persistence.*;
|
||||
@@ -62,6 +64,7 @@ public class User extends BaseEntity implements Serializable {
|
||||
|
||||
@OneToOne
|
||||
@JoinColumn(name = "dept_id")
|
||||
@NotFound(action= NotFoundAction.IGNORE)
|
||||
@ApiModelProperty(value = "用户部门")
|
||||
private Dept dept;
|
||||
|
||||
|
||||
@@ -284,7 +284,7 @@ public class WorkprocedureiosServiceOutImpl implements WorkprocedureiosOutServic
|
||||
map.put("material_id", material_id);
|
||||
map.put("is_full", is_full);
|
||||
map.put("ivt_workprocedure_id", ivt_workprocedure_id);
|
||||
JSONObject json = WQL.getWO("ST_WorkprocedureiosOut_01").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "structivt.pcsn desc");
|
||||
JSONObject json = WQL.getWO("ST_WorkprocedureiosOut_01").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "structivt.stockrecord_id desc");
|
||||
return json;
|
||||
}
|
||||
|
||||
|
||||
@@ -49,7 +49,6 @@
|
||||
c.material_name,
|
||||
p1.point_name AS start_point_name,
|
||||
p2.point_name AS end_point_name,
|
||||
unit.unit_name,
|
||||
cust.cust_name
|
||||
FROM
|
||||
ST_IVT_workProcedureIOS a
|
||||
@@ -57,7 +56,6 @@
|
||||
LEFT JOIN md_me_material c ON c.material_id = a.material_id
|
||||
LEFT JOIN sch_base_point p1 ON a.start_point_code = p1.point_code
|
||||
LEFT JOIN sch_base_point p2 ON a.end_point_code = p2.point_code
|
||||
LEFT JOIN md_pb_measureunit unit ON a.qty_unit_id = unit.unit_id
|
||||
LEFT JOIN md_cs_customerbase cust ON a.cust_id = cust.cust_id
|
||||
WHERE
|
||||
a.is_delete = '0' and a.io_type = '1'
|
||||
|
||||
Reference in New Issue
Block a user