费用承担方字段增加
This commit is contained in:
parent
0e17dcb25e
commit
795c7d28f7
|
|
@ -218,6 +218,7 @@ public class TmTaskController extends BaseController {
|
||||||
leaseApplyInfo.setType("2"); // 设置审批层级,先固定2层,后期根据接口传入Type区分来源设定
|
leaseApplyInfo.setType("2"); // 设置审批层级,先固定2层,后期根据接口传入Type区分来源设定
|
||||||
leaseApplyInfo.setLeaseType(task.getLeaseType());
|
leaseApplyInfo.setLeaseType(task.getLeaseType());
|
||||||
leaseApplyInfo.setEstimateLeaseTime(task.getEstimateLeaseTime());
|
leaseApplyInfo.setEstimateLeaseTime(task.getEstimateLeaseTime());
|
||||||
|
leaseApplyInfo.setCostBearingParty(task.getCostBearingParty());
|
||||||
|
|
||||||
// 创建领料任务,返回领料任务编号
|
// 创建领料任务,返回领料任务编号
|
||||||
boolean addLeaseTaskResult = leaseApplyInfoService.genderLeaseCode(leaseApplyInfo) > 0;
|
boolean addLeaseTaskResult = leaseApplyInfoService.genderLeaseCode(leaseApplyInfo) > 0;
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,11 @@ public class LeaseApplyInfo implements Serializable {
|
||||||
*/
|
*/
|
||||||
@ApiModelProperty(value = "联系方式")
|
@ApiModelProperty(value = "联系方式")
|
||||||
private String phone;
|
private String phone;
|
||||||
|
/**
|
||||||
|
* 费用承担方
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "费用承担方")
|
||||||
|
private String costBearingParty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 1:1级审批,2:2级审批
|
* 1:1级审批,2:2级审批
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,11 @@ public class TmTask implements Serializable {
|
||||||
@ApiModelProperty(value = "库存")
|
@ApiModelProperty(value = "库存")
|
||||||
private Double num;
|
private Double num;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 费用承担方
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "费用承担方")
|
||||||
|
private String costBearingParty;
|
||||||
/**
|
/**
|
||||||
* 编号
|
* 编号
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -107,9 +107,9 @@ public class SysDicController extends BaseController
|
||||||
*/
|
*/
|
||||||
@ApiOperation(value = "获取费用承担方列表")
|
@ApiOperation(value = "获取费用承担方列表")
|
||||||
@GetMapping(value = "/pid")
|
@GetMapping(value = "/pid")
|
||||||
public AjaxResult getBear(Long pid)
|
public AjaxResult getBear()
|
||||||
{
|
{
|
||||||
List<String> bear = sysDicService.getBear(pid);
|
List<String> bear = sysDicService.getBear();
|
||||||
return success(bear);
|
return success(bear);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -84,5 +84,5 @@ public interface SysDicMapper
|
||||||
*/
|
*/
|
||||||
SysDic selectByName(String name);
|
SysDic selectByName(String name);
|
||||||
|
|
||||||
List<String> getBear(Long pid);
|
List<String> getBear();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -81,5 +81,5 @@ public interface ISysDicService
|
||||||
*/
|
*/
|
||||||
public int deleteSysDicById(Long id);
|
public int deleteSysDicById(Long id);
|
||||||
|
|
||||||
List<String> getBear(Long pid);
|
List<String> getBear();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -138,8 +138,8 @@ public class SysDicServiceImpl implements ISysDicService
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<String> getBear(Long pid) {
|
public List<String> getBear() {
|
||||||
return sysDicMapper.getBear(pid);
|
return sysDicMapper.getBear();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -137,6 +137,9 @@
|
||||||
<if test="estimateLeaseTime != null">
|
<if test="estimateLeaseTime != null">
|
||||||
estimate_lease_time,
|
estimate_lease_time,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="costBearingParty != null and costBearingParty != ''">
|
||||||
|
cost_bearing_party,
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="code != null">
|
<if test="code != null">
|
||||||
|
|
@ -196,6 +199,9 @@
|
||||||
<if test="estimateLeaseTime != null">
|
<if test="estimateLeaseTime != null">
|
||||||
#{estimateLeaseTime,jdbcType=TIMESTAMP},
|
#{estimateLeaseTime,jdbcType=TIMESTAMP},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="costBearingParty != null and costBearingParty != ''">
|
||||||
|
#{costBearingParty,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -642,7 +642,7 @@
|
||||||
tt.*, su.phonenumber AS phoneNumber, sd.dept_name as deptName,
|
tt.*, su.phonenumber AS phoneNumber, sd.dept_name as deptName,
|
||||||
bpi.lot_id as proId, bpi.pro_id as projectId,bpi.lot_name as proName,
|
bpi.lot_id as proId, bpi.pro_id as projectId,bpi.lot_name as proName,
|
||||||
bui.unit_id as unitId,bui.unit_name as unitName,
|
bui.unit_id as unitId,bui.unit_name as unitName,
|
||||||
tt.create_by as applyFor,d.`name` as taskName,
|
tt.create_by as applyFor,d.`name` as taskName,lai.cost_bearing_party as costBearingParty,lai.cost_bearing_party as costBearingParty,
|
||||||
|
|
||||||
su2.user_name as companyAuditBy,
|
su2.user_name as companyAuditBy,
|
||||||
lai.company_audit_time as companyAuditTime,
|
lai.company_audit_time as companyAuditTime,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue