领料接口优化
This commit is contained in:
parent
01d1b9b60e
commit
b223d2340b
|
|
@ -65,14 +65,14 @@ public class TmTaskRequestVo extends BaseEntity {
|
|||
private String unitName;
|
||||
|
||||
@ApiModelProperty(value = "工程id")
|
||||
private Long proId;
|
||||
private Long projectId;
|
||||
|
||||
/**
|
||||
* 工程名称
|
||||
*/
|
||||
@ApiModelProperty(value = "工程名称")
|
||||
@Excel(name = "领料工程", sort = 3)
|
||||
private String proName;
|
||||
private String projectName;
|
||||
|
||||
/**
|
||||
* 预领料合计数
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<select id="getAuditListByLeaseTmTask" resultType="com.bonus.material.task.domain.vo.TmTaskRequestVo">
|
||||
SELECT DISTINCT
|
||||
tt.*, su.phonenumber AS phoneNumber, sd.dept_name as deptName,
|
||||
bpl.pro_id as proId,bpl.pro_name as proName,
|
||||
bpl.pro_id as proId,bpl.pro_name as projectName,
|
||||
bui.unit_id as unitId,bui.unit_name as unitName,
|
||||
lai.lease_person as leasePerson, lai.phone as leasePhone, tt.create_by as applyFor,d.`name` as taskName,lai.lease_type as leaseType,lai.estimate_lease_time as estimateLeaseTime,
|
||||
case when d.id = '31' then lai.company_audit_remark
|
||||
|
|
@ -184,7 +184,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<select id="getAuditListByLeaseTmTaskByPeople" resultType="com.bonus.material.task.domain.vo.TmTaskRequestVo">
|
||||
SELECT DISTINCT
|
||||
tt.*, su.phonenumber AS phoneNumber, sd.dept_name as deptName,
|
||||
bpl.pro_id as proId,bpl.pro_name as proName,
|
||||
bpl.pro_id as proId,bpl.pro_name as projectName,
|
||||
bui.unit_id as unitId,bui.unit_name as unitName,
|
||||
lai.lease_person as leasePerson, lai.phone as leasePhone, tt.create_by as applyFor,d.`name` as taskName,lai.lease_type as leaseType,lai.estimate_lease_time as estimateLeaseTime,
|
||||
case when d.id = '31' then lai.company_audit_remark
|
||||
|
|
|
|||
Loading…
Reference in New Issue