This commit is contained in:
xd 2024-04-07 16:54:05 +08:00
parent 1ca13b5f12
commit 1e49cbffbe
12 changed files with 2139 additions and 25 deletions

View File

@ -11,6 +11,8 @@ import com.ruoyi.common.utils.uuid.UUID;
import com.ruoyi.customer.domain.Customer; import com.ruoyi.customer.domain.Customer;
import com.ruoyi.quot.domain.QuotFile; import com.ruoyi.quot.domain.QuotFile;
import com.ruoyi.quot.service.IQuotFileService; import com.ruoyi.quot.service.IQuotFileService;
import com.ruoyi.technicalConfirm.domain.QuotJsqr;
import com.ruoyi.technicalConfirm.service.IQuotJsqrService;
import com.ruoyi.web.utils.IdUtils; import com.ruoyi.web.utils.IdUtils;
import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
@ -41,6 +43,10 @@ public class QuotController extends BaseController
@Autowired @Autowired
private IQuotFileService quotFileService; private IQuotFileService quotFileService;
@Autowired
private IQuotJsqrService quotJsqrService;
/** /**
* 查询报价列表 * 查询报价列表
*/ */
@ -87,9 +93,6 @@ public class QuotController extends BaseController
quot.setQuotId(UUID.fastUUID().toString()); quot.setQuotId(UUID.fastUUID().toString());
quot.setQuotCode(IdUtils.createNo("BJD_",2)); quot.setQuotCode(IdUtils.createNo("BJD_",2));
quot.setCreateBy(getUsername()); quot.setCreateBy(getUsername());
String quotJsxzGroup = quot.getQuotJsxzGroup();
System.out.println(quotJsxzGroup);
return toAjax(quotService.insertQuot(quot)); return toAjax(quotService.insertQuot(quot));
} }
@ -182,10 +185,10 @@ public class QuotController extends BaseController
} }
/** /**
* 提交报价单 * 提交报价单至报价组
*/ */
@PreAuthorize("@ss.hasPermi('customer:customer:commit')") @PreAuthorize("@ss.hasPermi('customer:customer:commit')")
@Log(title = "报价单提交", businessType = BusinessType.OTHER) @Log(title = "报价单提交报价组", businessType = BusinessType.OTHER)
@PostMapping("/commitQuot") @PostMapping("/commitQuot")
public AjaxResult commitQuot(@RequestBody Quot quot) public AjaxResult commitQuot(@RequestBody Quot quot)
{ {
@ -195,11 +198,13 @@ public class QuotController extends BaseController
quot.setQuotCode(IdUtils.createNo("BJD_",2)); quot.setQuotCode(IdUtils.createNo("BJD_",2));
quot.setCreateBy(getUsername()); quot.setCreateBy(getUsername());
quot.setQuotApprovalStatus("1");//提交报价组 quot.setQuotApprovalStatus("1");//提交报价组
quot.setQuotInquiryDate(DateUtils.getNowDate());
quotService.insertQuot(quot); quotService.insertQuot(quot);
return success(); return success();
}else{ }else{
quot.setUpdateBy(getUsername()); quot.setUpdateBy(getUsername());
quot.setQuotApprovalStatus("1");//提交报价组 quot.setQuotApprovalStatus("1");//提交报价组
quot.setQuotInquiryDate(DateUtils.getNowDate());
quotService.updateQuot(quot); quotService.updateQuot(quot);
return success(); return success();
} }
@ -217,7 +222,16 @@ public class QuotController extends BaseController
if(StringUtils.isEmpty(quotJsxzGroup)){ if(StringUtils.isEmpty(quotJsxzGroup)){
return error("请先选择分组"); return error("请先选择分组");
}else{ }else{
QuotJsqr quotJsqr = new QuotJsqr();
String quotJsqrId = UUID.fastUUID().toString();
quotJsqr.setQuotJsqrId(quotJsqrId);
quotJsqr.setQuotJsqrCode(IdUtils.createNo("BJD_JSQR_",2));
quotJsqr.setCreateBy(getUsername());
quotJsqrService.insertQuotJsqr(quotJsqr);
quot.setQuotJsxzConfirmId(quotJsqrId);
quot.setQuotJsxzApprovalStatus("1");
quotService.updateQuot(quot);
} }
return success(); return success();

View File

@ -0,0 +1,95 @@
package com.ruoyi.web.controller.technicalConfirm;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.technicalConfirm.domain.QuotJsqr;
import com.ruoyi.technicalConfirm.service.IQuotJsqrService;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import java.util.List;
/**
* 报价单-技术确认单Controller
*
* @author ruoyi
* @date 2024-04-07
*/
@RestController
@RequestMapping("/jsqr/jsqr")
public class QuotJsqrController extends BaseController
{
@Autowired
private IQuotJsqrService quotJsqrService;
/**
* 查询报价单-技术确认单列表
*/
@PreAuthorize("@ss.hasPermi('jsqr:jsqr:list')")
@GetMapping("/list")
public TableDataInfo list(QuotJsqr quotJsqr)
{
startPage();
List<QuotJsqr> list = quotJsqrService.selectQuotJsqrList(quotJsqr);
return getDataTable(list);
}
/**
* 导出报价单-技术确认单列表
*/
@PreAuthorize("@ss.hasPermi('jsqr:jsqr:export')")
@Log(title = "报价单-技术确认单", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, QuotJsqr quotJsqr)
{
List<QuotJsqr> list = quotJsqrService.selectQuotJsqrList(quotJsqr);
ExcelUtil<QuotJsqr> util = new ExcelUtil<QuotJsqr>(QuotJsqr.class);
util.exportExcel(response, list, "报价单-技术确认单数据");
}
/**
* 获取报价单-技术确认单详细信息
*/
@PreAuthorize("@ss.hasPermi('jsqr:jsqr:query')")
@GetMapping(value = "/{quotJsqrId}")
public AjaxResult getInfo(@PathVariable("quotJsqrId") String quotJsqrId)
{
return success(quotJsqrService.selectQuotJsqrByQuotJsqrId(quotJsqrId));
}
/**
* 修改报价单-技术确认单
*/
@PreAuthorize("@ss.hasPermi('jsqr:jsqr:edit')")
@Log(title = "报价单-技术确认单查看", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody QuotJsqr quotJsqr)
{
return toAjax(quotJsqrService.updateQuotJsqr(quotJsqr));
}
/**
* 删除报价单-技术确认单
*/
@PreAuthorize("@ss.hasPermi('jsqr:jsqr:remove')")
@Log(title = "报价单-技术确认单", businessType = BusinessType.DELETE)
@DeleteMapping("/{quotJsqrIds}")
public AjaxResult remove(@PathVariable String[] quotJsqrIds)
{
return toAjax(quotJsqrService.deleteQuotJsqrByQuotJsqrIds(quotJsqrIds));
}
}

View File

@ -1,5 +1,6 @@
package com.ruoyi.quot.domain; package com.ruoyi.quot.domain;
import java.util.Date;
import java.util.List; import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle; import org.apache.commons.lang3.builder.ToStringStyle;
@ -50,7 +51,7 @@ public class Quot extends BaseEntity
/** 询价日期 */ /** 询价日期 */
@Excel(name = "询价日期") @Excel(name = "询价日期")
private String quotInquiryDate; private Date quotInquiryDate;
/** 项目名称 */ /** 项目名称 */
@Excel(name = "项目名称") @Excel(name = "项目名称")
@ -58,7 +59,7 @@ public class Quot extends BaseEntity
/** 报价日期 */ /** 报价日期 */
@Excel(name = "报价日期") @Excel(name = "报价日期")
private String quotQuotationDate; private Date quotQuotationDate;
/** 报价来源 */ /** 报价来源 */
private String quotQuotationFrom; private String quotQuotationFrom;
@ -177,10 +178,7 @@ public class Quot extends BaseEntity
{ {
return quotSalesmanDeptId; return quotSalesmanDeptId;
} }
public void setQuotSalesmanDeptName(String quotSalesmanDeptName) public void setQuotSalesmanDeptName(String quotSalesmanDeptName) { this.quotSalesmanDeptName = quotSalesmanDeptName; }
{
this.quotSalesmanDeptName = quotSalesmanDeptName;
}
public String getQuotSalesmanDeptName() public String getQuotSalesmanDeptName()
{ {
@ -204,12 +202,9 @@ public class Quot extends BaseEntity
{ {
return quotPhone; return quotPhone;
} }
public void setQuotInquiryDate(String quotInquiryDate) public void setQuotInquiryDate(Date quotInquiryDate) { this.quotInquiryDate = quotInquiryDate;}
{
this.quotInquiryDate = quotInquiryDate;
}
public String getQuotInquiryDate() public Date getQuotInquiryDate()
{ {
return quotInquiryDate; return quotInquiryDate;
} }
@ -222,12 +217,12 @@ public class Quot extends BaseEntity
{ {
return quotProject; return quotProject;
} }
public void setQuotQuotationDate(String quotQuotationDate) public void setQuotQuotationDate(Date quotQuotationDate)
{ {
this.quotQuotationDate = quotQuotationDate; this.quotQuotationDate = quotQuotationDate;
} }
public String getQuotQuotationDate() public Date getQuotQuotationDate()
{ {
return quotQuotationDate; return quotQuotationDate;
} }

View File

@ -0,0 +1,735 @@
package com.ruoyi.technicalConfirm.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
* 报价单-技术确认单对象 quot_jsqr
*
* @author ruoyi
* @date 2024-04-07
*/
public class QuotJsqr extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** ID */
private String quotJsqrId;
/** 技术确认单编号 */
@Excel(name = "技术确认单编号")
private String quotJsqrCode;
/** 特缆协助状态 */
@Excel(name = "特缆协助状态")
private String quotJsqrTlApprovalStatus;
/** 特缆操作人 */
private String quotJsqrTlOperateUserName;
/** 特缆操作状态 */
private String quotJsqrTlOperateStatus;
/** 特缆操作时间 */
private String quotJsqrTlOperateTime;
/** 特缆协助说明 */
private String quotJsqrTlRemark;
/** 特缆审核人 */
private String quotJsqrTlCheckUserName;
/** 特缆审核状态 */
private String quotJsqrTlCheckState;
/** 特缆审核时间 */
private String quotJsqrTlCheckTime;
/** 特缆审核意见 */
private String quotJsqrTlCheckRemark;
/** 特缆组长 */
private String quotJsqrTlLeaderUserName;
/** 特缆组长状态 */
private String quotJsqrTlLeaderState;
/** 特缆组长确认时间 */
private String quotJsqrTlLeaderTime;
/** 特缆组长确认意见 */
private String quotJsqrTlLeaderRemark;
/** 低压协助状态 */
@Excel(name = "低压协助状态")
private String quotJsqrDyApprovalStatus;
/** 低压操作人 */
private String quotJsqrDyOperateUserName;
/** 低压操作状态 */
private String quotJsqrDyOperateStatus;
/** 低压操作时间 */
private String quotJsqrDyOperateTime;
/** 低压协助说明 */
private String quotJsqrDyRemark;
/** 低压审核人 */
private String quotJsqrDyCheckUserName;
/** 低压审核状态 */
private String quotJsqrDyCheckState;
/** 低压审核时间 */
private String quotJsqrDyCheckTime;
/** 低压审核意见 */
private String quotJsqrDyCheckRemark;
/** 低压组长 */
private String quotJsqrDyLeaderUserName;
/** 低压组长状态 */
private String quotJsqrDyLeaderState;
/** 低压组长确认时间 */
private String quotJsqrDyLeaderTime;
/** 低压组长确认意见 */
private String quotJsqrDyLeaderRemark;
/** 中压协助状态 */
@Excel(name = "中压协助状态")
private String quotJsqrZyApprovalStatus;
/** 中压操作人 */
private String quotJsqrZyOperateUserName;
/** 中压操作状态 */
private String quotJsqrZyOperateStatus;
/** 中压操作时间 */
private String quotJsqrZyOperateTime;
/** 中压协助说明 */
private String quotJsqrZyRemark;
/** 中压审核人 */
private String quotJsqrZyCheckUserName;
/** 中压审核状态 */
private String quotJsqrZyCheckState;
/** 中压审核时间 */
private String quotJsqrZyCheckTime;
/** 中压审核意见 */
private String quotJsqrZyCheckRemark;
/** 中压组长 */
private String quotJsqrZyLeaderUserName;
/** 中压组长状态 */
private String quotJsqrZyLeaderState;
/** 中压组长确认时间 */
private String quotJsqrZyLeaderTime;
/** 中压组长确认意见 */
private String quotJsqrZyLeaderRemark;
/** 其他协助状态 */
@Excel(name = "其他协助状态")
private String quotJsqrQtApprovalStatus;
/** 其他操作人 */
private String quotJsqrQtOperateUserName;
/** 其他操作状态 */
private String quotJsqrQtOperateStatus;
/** 其他操作时间 */
private String quotJsqrQtOperateTime;
/** 其他协助说明 */
private String quotJsqrQtRemark;
/** 其他审核人 */
private String quotJsqrQtCheckUserName;
/** 其他审核状态 */
private String quotJsqrQtCheckState;
/** 其他审核时间 */
private String quotJsqrQtCheckTime;
/** 其他审核意见 */
private String quotJsqrQtCheckRemark;
/** 其他组长 */
private String quotJsqrQtLeaderUserName;
/** 其他组长状态 */
private String quotJsqrQtLeaderState;
/** 其他组长确认时间 */
private String quotJsqrQtLeaderTime;
/** 其他组长确认意见 */
private String quotJsqrQtLeaderRemark;
public void setQuotJsqrId(String quotJsqrId)
{
this.quotJsqrId = quotJsqrId;
}
public String getQuotJsqrId()
{
return quotJsqrId;
}
public void setQuotJsqrCode(String quotJsqrCode)
{
this.quotJsqrCode = quotJsqrCode;
}
public String getQuotJsqrCode()
{
return quotJsqrCode;
}
public void setQuotJsqrTlApprovalStatus(String quotJsqrTlApprovalStatus)
{
this.quotJsqrTlApprovalStatus = quotJsqrTlApprovalStatus;
}
public String getQuotJsqrTlApprovalStatus()
{
return quotJsqrTlApprovalStatus;
}
public void setQuotJsqrTlOperateUserName(String quotJsqrTlOperateUserName)
{
this.quotJsqrTlOperateUserName = quotJsqrTlOperateUserName;
}
public String getQuotJsqrTlOperateUserName()
{
return quotJsqrTlOperateUserName;
}
public void setQuotJsqrTlOperateStatus(String quotJsqrTlOperateStatus)
{
this.quotJsqrTlOperateStatus = quotJsqrTlOperateStatus;
}
public String getQuotJsqrTlOperateStatus()
{
return quotJsqrTlOperateStatus;
}
public void setQuotJsqrTlOperateTime(String quotJsqrTlOperateTime)
{
this.quotJsqrTlOperateTime = quotJsqrTlOperateTime;
}
public String getQuotJsqrTlOperateTime()
{
return quotJsqrTlOperateTime;
}
public void setQuotJsqrTlRemark(String quotJsqrTlRemark)
{
this.quotJsqrTlRemark = quotJsqrTlRemark;
}
public String getQuotJsqrTlRemark()
{
return quotJsqrTlRemark;
}
public void setQuotJsqrTlCheckUserName(String quotJsqrTlCheckUserName)
{
this.quotJsqrTlCheckUserName = quotJsqrTlCheckUserName;
}
public String getQuotJsqrTlCheckUserName()
{
return quotJsqrTlCheckUserName;
}
public void setQuotJsqrTlCheckState(String quotJsqrTlCheckState)
{
this.quotJsqrTlCheckState = quotJsqrTlCheckState;
}
public String getQuotJsqrTlCheckState()
{
return quotJsqrTlCheckState;
}
public void setQuotJsqrTlCheckTime(String quotJsqrTlCheckTime)
{
this.quotJsqrTlCheckTime = quotJsqrTlCheckTime;
}
public String getQuotJsqrTlCheckTime()
{
return quotJsqrTlCheckTime;
}
public void setQuotJsqrTlCheckRemark(String quotJsqrTlCheckRemark)
{
this.quotJsqrTlCheckRemark = quotJsqrTlCheckRemark;
}
public String getQuotJsqrTlCheckRemark()
{
return quotJsqrTlCheckRemark;
}
public void setQuotJsqrTlLeaderUserName(String quotJsqrTlLeaderUserName)
{
this.quotJsqrTlLeaderUserName = quotJsqrTlLeaderUserName;
}
public String getQuotJsqrTlLeaderUserName()
{
return quotJsqrTlLeaderUserName;
}
public void setQuotJsqrTlLeaderState(String quotJsqrTlLeaderState)
{
this.quotJsqrTlLeaderState = quotJsqrTlLeaderState;
}
public String getQuotJsqrTlLeaderState()
{
return quotJsqrTlLeaderState;
}
public void setQuotJsqrTlLeaderTime(String quotJsqrTlLeaderTime)
{
this.quotJsqrTlLeaderTime = quotJsqrTlLeaderTime;
}
public String getQuotJsqrTlLeaderTime()
{
return quotJsqrTlLeaderTime;
}
public void setQuotJsqrTlLeaderRemark(String quotJsqrTlLeaderRemark)
{
this.quotJsqrTlLeaderRemark = quotJsqrTlLeaderRemark;
}
public String getQuotJsqrTlLeaderRemark()
{
return quotJsqrTlLeaderRemark;
}
public void setQuotJsqrDyApprovalStatus(String quotJsqrDyApprovalStatus)
{
this.quotJsqrDyApprovalStatus = quotJsqrDyApprovalStatus;
}
public String getQuotJsqrDyApprovalStatus()
{
return quotJsqrDyApprovalStatus;
}
public void setQuotJsqrDyOperateUserName(String quotJsqrDyOperateUserName)
{
this.quotJsqrDyOperateUserName = quotJsqrDyOperateUserName;
}
public String getQuotJsqrDyOperateUserName()
{
return quotJsqrDyOperateUserName;
}
public void setQuotJsqrDyOperateStatus(String quotJsqrDyOperateStatus)
{
this.quotJsqrDyOperateStatus = quotJsqrDyOperateStatus;
}
public String getQuotJsqrDyOperateStatus()
{
return quotJsqrDyOperateStatus;
}
public void setQuotJsqrDyOperateTime(String quotJsqrDyOperateTime)
{
this.quotJsqrDyOperateTime = quotJsqrDyOperateTime;
}
public String getQuotJsqrDyOperateTime()
{
return quotJsqrDyOperateTime;
}
public void setQuotJsqrDyRemark(String quotJsqrDyRemark)
{
this.quotJsqrDyRemark = quotJsqrDyRemark;
}
public String getQuotJsqrDyRemark()
{
return quotJsqrDyRemark;
}
public void setQuotJsqrDyCheckUserName(String quotJsqrDyCheckUserName)
{
this.quotJsqrDyCheckUserName = quotJsqrDyCheckUserName;
}
public String getQuotJsqrDyCheckUserName()
{
return quotJsqrDyCheckUserName;
}
public void setQuotJsqrDyCheckState(String quotJsqrDyCheckState)
{
this.quotJsqrDyCheckState = quotJsqrDyCheckState;
}
public String getQuotJsqrDyCheckState()
{
return quotJsqrDyCheckState;
}
public void setQuotJsqrDyCheckTime(String quotJsqrDyCheckTime)
{
this.quotJsqrDyCheckTime = quotJsqrDyCheckTime;
}
public String getQuotJsqrDyCheckTime()
{
return quotJsqrDyCheckTime;
}
public void setQuotJsqrDyCheckRemark(String quotJsqrDyCheckRemark)
{
this.quotJsqrDyCheckRemark = quotJsqrDyCheckRemark;
}
public String getQuotJsqrDyCheckRemark()
{
return quotJsqrDyCheckRemark;
}
public void setQuotJsqrDyLeaderUserName(String quotJsqrDyLeaderUserName)
{
this.quotJsqrDyLeaderUserName = quotJsqrDyLeaderUserName;
}
public String getQuotJsqrDyLeaderUserName()
{
return quotJsqrDyLeaderUserName;
}
public void setQuotJsqrDyLeaderState(String quotJsqrDyLeaderState)
{
this.quotJsqrDyLeaderState = quotJsqrDyLeaderState;
}
public String getQuotJsqrDyLeaderState()
{
return quotJsqrDyLeaderState;
}
public void setQuotJsqrDyLeaderTime(String quotJsqrDyLeaderTime)
{
this.quotJsqrDyLeaderTime = quotJsqrDyLeaderTime;
}
public String getQuotJsqrDyLeaderTime()
{
return quotJsqrDyLeaderTime;
}
public void setQuotJsqrDyLeaderRemark(String quotJsqrDyLeaderRemark)
{
this.quotJsqrDyLeaderRemark = quotJsqrDyLeaderRemark;
}
public String getQuotJsqrDyLeaderRemark()
{
return quotJsqrDyLeaderRemark;
}
public void setQuotJsqrZyApprovalStatus(String quotJsqrZyApprovalStatus)
{
this.quotJsqrZyApprovalStatus = quotJsqrZyApprovalStatus;
}
public String getQuotJsqrZyApprovalStatus()
{
return quotJsqrZyApprovalStatus;
}
public void setQuotJsqrZyOperateUserName(String quotJsqrZyOperateUserName)
{
this.quotJsqrZyOperateUserName = quotJsqrZyOperateUserName;
}
public String getQuotJsqrZyOperateUserName()
{
return quotJsqrZyOperateUserName;
}
public void setQuotJsqrZyOperateStatus(String quotJsqrZyOperateStatus)
{
this.quotJsqrZyOperateStatus = quotJsqrZyOperateStatus;
}
public String getQuotJsqrZyOperateStatus()
{
return quotJsqrZyOperateStatus;
}
public void setQuotJsqrZyOperateTime(String quotJsqrZyOperateTime)
{
this.quotJsqrZyOperateTime = quotJsqrZyOperateTime;
}
public String getQuotJsqrZyOperateTime()
{
return quotJsqrZyOperateTime;
}
public void setQuotJsqrZyRemark(String quotJsqrZyRemark)
{
this.quotJsqrZyRemark = quotJsqrZyRemark;
}
public String getQuotJsqrZyRemark()
{
return quotJsqrZyRemark;
}
public void setQuotJsqrZyCheckUserName(String quotJsqrZyCheckUserName)
{
this.quotJsqrZyCheckUserName = quotJsqrZyCheckUserName;
}
public String getQuotJsqrZyCheckUserName()
{
return quotJsqrZyCheckUserName;
}
public void setQuotJsqrZyCheckState(String quotJsqrZyCheckState)
{
this.quotJsqrZyCheckState = quotJsqrZyCheckState;
}
public String getQuotJsqrZyCheckState()
{
return quotJsqrZyCheckState;
}
public void setQuotJsqrZyCheckTime(String quotJsqrZyCheckTime)
{
this.quotJsqrZyCheckTime = quotJsqrZyCheckTime;
}
public String getQuotJsqrZyCheckTime()
{
return quotJsqrZyCheckTime;
}
public void setQuotJsqrZyCheckRemark(String quotJsqrZyCheckRemark)
{
this.quotJsqrZyCheckRemark = quotJsqrZyCheckRemark;
}
public String getQuotJsqrZyCheckRemark()
{
return quotJsqrZyCheckRemark;
}
public void setQuotJsqrZyLeaderUserName(String quotJsqrZyLeaderUserName)
{
this.quotJsqrZyLeaderUserName = quotJsqrZyLeaderUserName;
}
public String getQuotJsqrZyLeaderUserName()
{
return quotJsqrZyLeaderUserName;
}
public void setQuotJsqrZyLeaderState(String quotJsqrZyLeaderState)
{
this.quotJsqrZyLeaderState = quotJsqrZyLeaderState;
}
public String getQuotJsqrZyLeaderState()
{
return quotJsqrZyLeaderState;
}
public void setQuotJsqrZyLeaderTime(String quotJsqrZyLeaderTime)
{
this.quotJsqrZyLeaderTime = quotJsqrZyLeaderTime;
}
public String getQuotJsqrZyLeaderTime()
{
return quotJsqrZyLeaderTime;
}
public void setQuotJsqrZyLeaderRemark(String quotJsqrZyLeaderRemark)
{
this.quotJsqrZyLeaderRemark = quotJsqrZyLeaderRemark;
}
public String getQuotJsqrZyLeaderRemark()
{
return quotJsqrZyLeaderRemark;
}
public void setQuotJsqrQtApprovalStatus(String quotJsqrQtApprovalStatus)
{
this.quotJsqrQtApprovalStatus = quotJsqrQtApprovalStatus;
}
public String getQuotJsqrQtApprovalStatus()
{
return quotJsqrQtApprovalStatus;
}
public void setQuotJsqrQtOperateUserName(String quotJsqrQtOperateUserName)
{
this.quotJsqrQtOperateUserName = quotJsqrQtOperateUserName;
}
public String getQuotJsqrQtOperateUserName()
{
return quotJsqrQtOperateUserName;
}
public void setQuotJsqrQtOperateStatus(String quotJsqrQtOperateStatus)
{
this.quotJsqrQtOperateStatus = quotJsqrQtOperateStatus;
}
public String getQuotJsqrQtOperateStatus()
{
return quotJsqrQtOperateStatus;
}
public void setQuotJsqrQtOperateTime(String quotJsqrQtOperateTime)
{
this.quotJsqrQtOperateTime = quotJsqrQtOperateTime;
}
public String getQuotJsqrQtOperateTime()
{
return quotJsqrQtOperateTime;
}
public void setQuotJsqrQtRemark(String quotJsqrQtRemark)
{
this.quotJsqrQtRemark = quotJsqrQtRemark;
}
public String getQuotJsqrQtRemark()
{
return quotJsqrQtRemark;
}
public void setQuotJsqrQtCheckUserName(String quotJsqrQtCheckUserName)
{
this.quotJsqrQtCheckUserName = quotJsqrQtCheckUserName;
}
public String getQuotJsqrQtCheckUserName()
{
return quotJsqrQtCheckUserName;
}
public void setQuotJsqrQtCheckState(String quotJsqrQtCheckState)
{
this.quotJsqrQtCheckState = quotJsqrQtCheckState;
}
public String getQuotJsqrQtCheckState()
{
return quotJsqrQtCheckState;
}
public void setQuotJsqrQtCheckTime(String quotJsqrQtCheckTime)
{
this.quotJsqrQtCheckTime = quotJsqrQtCheckTime;
}
public String getQuotJsqrQtCheckTime()
{
return quotJsqrQtCheckTime;
}
public void setQuotJsqrQtCheckRemark(String quotJsqrQtCheckRemark)
{
this.quotJsqrQtCheckRemark = quotJsqrQtCheckRemark;
}
public String getQuotJsqrQtCheckRemark()
{
return quotJsqrQtCheckRemark;
}
public void setQuotJsqrQtLeaderUserName(String quotJsqrQtLeaderUserName)
{
this.quotJsqrQtLeaderUserName = quotJsqrQtLeaderUserName;
}
public String getQuotJsqrQtLeaderUserName()
{
return quotJsqrQtLeaderUserName;
}
public void setQuotJsqrQtLeaderState(String quotJsqrQtLeaderState)
{
this.quotJsqrQtLeaderState = quotJsqrQtLeaderState;
}
public String getQuotJsqrQtLeaderState()
{
return quotJsqrQtLeaderState;
}
public void setQuotJsqrQtLeaderTime(String quotJsqrQtLeaderTime)
{
this.quotJsqrQtLeaderTime = quotJsqrQtLeaderTime;
}
public String getQuotJsqrQtLeaderTime()
{
return quotJsqrQtLeaderTime;
}
public void setQuotJsqrQtLeaderRemark(String quotJsqrQtLeaderRemark)
{
this.quotJsqrQtLeaderRemark = quotJsqrQtLeaderRemark;
}
public String getQuotJsqrQtLeaderRemark()
{
return quotJsqrQtLeaderRemark;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("quotJsqrId", getQuotJsqrId())
.append("quotJsqrCode", getQuotJsqrCode())
.append("quotJsqrTlApprovalStatus", getQuotJsqrTlApprovalStatus())
.append("quotJsqrTlOperateUserName", getQuotJsqrTlOperateUserName())
.append("quotJsqrTlOperateStatus", getQuotJsqrTlOperateStatus())
.append("quotJsqrTlOperateTime", getQuotJsqrTlOperateTime())
.append("quotJsqrTlRemark", getQuotJsqrTlRemark())
.append("quotJsqrTlCheckUserName", getQuotJsqrTlCheckUserName())
.append("quotJsqrTlCheckState", getQuotJsqrTlCheckState())
.append("quotJsqrTlCheckTime", getQuotJsqrTlCheckTime())
.append("quotJsqrTlCheckRemark", getQuotJsqrTlCheckRemark())
.append("quotJsqrTlLeaderUserName", getQuotJsqrTlLeaderUserName())
.append("quotJsqrTlLeaderState", getQuotJsqrTlLeaderState())
.append("quotJsqrTlLeaderTime", getQuotJsqrTlLeaderTime())
.append("quotJsqrTlLeaderRemark", getQuotJsqrTlLeaderRemark())
.append("quotJsqrDyApprovalStatus", getQuotJsqrDyApprovalStatus())
.append("quotJsqrDyOperateUserName", getQuotJsqrDyOperateUserName())
.append("quotJsqrDyOperateStatus", getQuotJsqrDyOperateStatus())
.append("quotJsqrDyOperateTime", getQuotJsqrDyOperateTime())
.append("quotJsqrDyRemark", getQuotJsqrDyRemark())
.append("quotJsqrDyCheckUserName", getQuotJsqrDyCheckUserName())
.append("quotJsqrDyCheckState", getQuotJsqrDyCheckState())
.append("quotJsqrDyCheckTime", getQuotJsqrDyCheckTime())
.append("quotJsqrDyCheckRemark", getQuotJsqrDyCheckRemark())
.append("quotJsqrDyLeaderUserName", getQuotJsqrDyLeaderUserName())
.append("quotJsqrDyLeaderState", getQuotJsqrDyLeaderState())
.append("quotJsqrDyLeaderTime", getQuotJsqrDyLeaderTime())
.append("quotJsqrDyLeaderRemark", getQuotJsqrDyLeaderRemark())
.append("quotJsqrZyApprovalStatus", getQuotJsqrZyApprovalStatus())
.append("quotJsqrZyOperateUserName", getQuotJsqrZyOperateUserName())
.append("quotJsqrZyOperateStatus", getQuotJsqrZyOperateStatus())
.append("quotJsqrZyOperateTime", getQuotJsqrZyOperateTime())
.append("quotJsqrZyRemark", getQuotJsqrZyRemark())
.append("quotJsqrZyCheckUserName", getQuotJsqrZyCheckUserName())
.append("quotJsqrZyCheckState", getQuotJsqrZyCheckState())
.append("quotJsqrZyCheckTime", getQuotJsqrZyCheckTime())
.append("quotJsqrZyCheckRemark", getQuotJsqrZyCheckRemark())
.append("quotJsqrZyLeaderUserName", getQuotJsqrZyLeaderUserName())
.append("quotJsqrZyLeaderState", getQuotJsqrZyLeaderState())
.append("quotJsqrZyLeaderTime", getQuotJsqrZyLeaderTime())
.append("quotJsqrZyLeaderRemark", getQuotJsqrZyLeaderRemark())
.append("quotJsqrQtApprovalStatus", getQuotJsqrQtApprovalStatus())
.append("quotJsqrQtOperateUserName", getQuotJsqrQtOperateUserName())
.append("quotJsqrQtOperateStatus", getQuotJsqrQtOperateStatus())
.append("quotJsqrQtOperateTime", getQuotJsqrQtOperateTime())
.append("quotJsqrQtRemark", getQuotJsqrQtRemark())
.append("quotJsqrQtCheckUserName", getQuotJsqrQtCheckUserName())
.append("quotJsqrQtCheckState", getQuotJsqrQtCheckState())
.append("quotJsqrQtCheckTime", getQuotJsqrQtCheckTime())
.append("quotJsqrQtCheckRemark", getQuotJsqrQtCheckRemark())
.append("quotJsqrQtLeaderUserName", getQuotJsqrQtLeaderUserName())
.append("quotJsqrQtLeaderState", getQuotJsqrQtLeaderState())
.append("quotJsqrQtLeaderTime", getQuotJsqrQtLeaderTime())
.append("quotJsqrQtLeaderRemark", getQuotJsqrQtLeaderRemark())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
}
}

View File

@ -0,0 +1,62 @@
package com.ruoyi.technicalConfirm.mapper;
import com.ruoyi.technicalConfirm.domain.QuotJsqr;
import java.util.List;
/**
* 报价单-技术确认单Mapper接口
*
* @author ruoyi
* @date 2024-04-07
*/
public interface QuotJsqrMapper
{
/**
* 查询报价单-技术确认单
*
* @param quotJsqrId 报价单-技术确认单主键
* @return 报价单-技术确认单
*/
public QuotJsqr selectQuotJsqrByQuotJsqrId(String quotJsqrId);
/**
* 查询报价单-技术确认单列表
*
* @param quotJsqr 报价单-技术确认单
* @return 报价单-技术确认单集合
*/
public List<QuotJsqr> selectQuotJsqrList(QuotJsqr quotJsqr);
/**
* 新增报价单-技术确认单
*
* @param quotJsqr 报价单-技术确认单
* @return 结果
*/
public int insertQuotJsqr(QuotJsqr quotJsqr);
/**
* 修改报价单-技术确认单
*
* @param quotJsqr 报价单-技术确认单
* @return 结果
*/
public int updateQuotJsqr(QuotJsqr quotJsqr);
/**
* 删除报价单-技术确认单
*
* @param quotJsqrId 报价单-技术确认单主键
* @return 结果
*/
public int deleteQuotJsqrByQuotJsqrId(String quotJsqrId);
/**
* 批量删除报价单-技术确认单
*
* @param quotJsqrIds 需要删除的数据主键集合
* @return 结果
*/
public int deleteQuotJsqrByQuotJsqrIds(String[] quotJsqrIds);
}

View File

@ -0,0 +1,62 @@
package com.ruoyi.technicalConfirm.service;
import com.ruoyi.technicalConfirm.domain.QuotJsqr;
import java.util.List;
/**
* 报价单-技术确认单Service接口
*
* @author ruoyi
* @date 2024-04-07
*/
public interface IQuotJsqrService
{
/**
* 查询报价单-技术确认单
*
* @param quotJsqrId 报价单-技术确认单主键
* @return 报价单-技术确认单
*/
public QuotJsqr selectQuotJsqrByQuotJsqrId(String quotJsqrId);
/**
* 查询报价单-技术确认单列表
*
* @param quotJsqr 报价单-技术确认单
* @return 报价单-技术确认单集合
*/
public List<QuotJsqr> selectQuotJsqrList(QuotJsqr quotJsqr);
/**
* 新增报价单-技术确认单
*
* @param quotJsqr 报价单-技术确认单
* @return 结果
*/
public int insertQuotJsqr(QuotJsqr quotJsqr);
/**
* 修改报价单-技术确认单
*
* @param quotJsqr 报价单-技术确认单
* @return 结果
*/
public int updateQuotJsqr(QuotJsqr quotJsqr);
/**
* 批量删除报价单-技术确认单
*
* @param quotJsqrIds 需要删除的报价单-技术确认单主键集合
* @return 结果
*/
public int deleteQuotJsqrByQuotJsqrIds(String[] quotJsqrIds);
/**
* 删除报价单-技术确认单信息
*
* @param quotJsqrId 报价单-技术确认单主键
* @return 结果
*/
public int deleteQuotJsqrByQuotJsqrId(String quotJsqrId);
}

View File

@ -0,0 +1,100 @@
package com.ruoyi.technicalConfirm.service.impl;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.technicalConfirm.domain.QuotJsqr;
import com.ruoyi.technicalConfirm.mapper.QuotJsqrMapper;
import com.ruoyi.technicalConfirm.service.IQuotJsqrService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* 报价单-技术确认单Service业务层处理
*
* @author ruoyi
* @date 2024-04-07
*/
@Service
public class QuotJsqrServiceImpl implements IQuotJsqrService
{
@Autowired
private QuotJsqrMapper quotJsqrMapper;
/**
* 查询报价单-技术确认单
*
* @param quotJsqrId 报价单-技术确认单主键
* @return 报价单-技术确认单
*/
@Override
public QuotJsqr selectQuotJsqrByQuotJsqrId(String quotJsqrId)
{
return quotJsqrMapper.selectQuotJsqrByQuotJsqrId(quotJsqrId);
}
/**
* 查询报价单-技术确认单列表
*
* @param quotJsqr 报价单-技术确认单
* @return 报价单-技术确认单
*/
@Override
public List<QuotJsqr> selectQuotJsqrList(QuotJsqr quotJsqr)
{
return quotJsqrMapper.selectQuotJsqrList(quotJsqr);
}
/**
* 新增报价单-技术确认单
*
* @param quotJsqr 报价单-技术确认单
* @return 结果
*/
@Override
@Transactional
public int insertQuotJsqr(QuotJsqr quotJsqr)
{
quotJsqr.setCreateTime(DateUtils.getNowDate());
return quotJsqrMapper.insertQuotJsqr(quotJsqr);
}
/**
* 修改报价单-技术确认单
*
* @param quotJsqr 报价单-技术确认单
* @return 结果
*/
@Override
@Transactional
public int updateQuotJsqr(QuotJsqr quotJsqr)
{
quotJsqr.setUpdateTime(DateUtils.getNowDate());
return quotJsqrMapper.updateQuotJsqr(quotJsqr);
}
/**
* 批量删除报价单-技术确认单
*
* @param quotJsqrIds 需要删除的报价单-技术确认单主键
* @return 结果
*/
@Override
public int deleteQuotJsqrByQuotJsqrIds(String[] quotJsqrIds)
{
return quotJsqrMapper.deleteQuotJsqrByQuotJsqrIds(quotJsqrIds);
}
/**
* 删除报价单-技术确认单信息
*
* @param quotJsqrId 报价单-技术确认单主键
* @return 结果
*/
@Override
public int deleteQuotJsqrByQuotJsqrId(String quotJsqrId)
{
return quotJsqrMapper.deleteQuotJsqrByQuotJsqrId(quotJsqrId);
}
}

View File

@ -0,0 +1,286 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.quot.mapper.QuotJsqrMapper">
<resultMap type="QuotJsqr" id="QuotJsqrResult">
<result property="quotJsqrId" column="quot_jsqr_id" />
<result property="quotJsqrCode" column="quot_jsqr_code" />
<result property="quotJsqrTlApprovalStatus" column="quot_jsqr_tl_approval_status" />
<result property="quotJsqrTlOperateUserName" column="quot_jsqr_tl_operate_user_name" />
<result property="quotJsqrTlOperateStatus" column="quot_jsqr_tl_operate_status" />
<result property="quotJsqrTlOperateTime" column="quot_jsqr_tl_operate_time" />
<result property="quotJsqrTlRemark" column="quot_jsqr_tl_remark" />
<result property="quotJsqrTlCheckUserName" column="quot_jsqr_tl_check_user_name" />
<result property="quotJsqrTlCheckState" column="quot_jsqr_tl_check_state" />
<result property="quotJsqrTlCheckTime" column="quot_jsqr_tl_check_time" />
<result property="quotJsqrTlCheckRemark" column="quot_jsqr_tl_check_remark" />
<result property="quotJsqrTlLeaderUserName" column="quot_jsqr_tl_leader_user_name" />
<result property="quotJsqrTlLeaderState" column="quot_jsqr_tl_leader_state" />
<result property="quotJsqrTlLeaderTime" column="quot_jsqr_tl_leader_time" />
<result property="quotJsqrTlLeaderRemark" column="quot_jsqr_tl_leader_remark" />
<result property="quotJsqrDyApprovalStatus" column="quot_jsqr_dy_approval_status" />
<result property="quotJsqrDyOperateUserName" column="quot_jsqr_dy_operate_user_name" />
<result property="quotJsqrDyOperateStatus" column="quot_jsqr_dy_operate_status" />
<result property="quotJsqrDyOperateTime" column="quot_jsqr_dy_operate_time" />
<result property="quotJsqrDyRemark" column="quot_jsqr_dy_remark" />
<result property="quotJsqrDyCheckUserName" column="quot_jsqr_dy_check_user_name" />
<result property="quotJsqrDyCheckState" column="quot_jsqr_dy_check_state" />
<result property="quotJsqrDyCheckTime" column="quot_jsqr_dy_check_time" />
<result property="quotJsqrDyCheckRemark" column="quot_jsqr_dy_check_remark" />
<result property="quotJsqrDyLeaderUserName" column="quot_jsqr_dy_leader_user_name" />
<result property="quotJsqrDyLeaderState" column="quot_jsqr_dy_leader_state" />
<result property="quotJsqrDyLeaderTime" column="quot_jsqr_dy_leader_time" />
<result property="quotJsqrDyLeaderRemark" column="quot_jsqr_dy_leader_remark" />
<result property="quotJsqrZyApprovalStatus" column="quot_jsqr_zy_approval_status" />
<result property="quotJsqrZyOperateUserName" column="quot_jsqr_zy_operate_user_name" />
<result property="quotJsqrZyOperateStatus" column="quot_jsqr_zy_operate_status" />
<result property="quotJsqrZyOperateTime" column="quot_jsqr_zy_operate_time" />
<result property="quotJsqrZyRemark" column="quot_jsqr_zy_remark" />
<result property="quotJsqrZyCheckUserName" column="quot_jsqr_zy_check_user_name" />
<result property="quotJsqrZyCheckState" column="quot_jsqr_zy_check_state" />
<result property="quotJsqrZyCheckTime" column="quot_jsqr_zy_check_time" />
<result property="quotJsqrZyCheckRemark" column="quot_jsqr_zy_check_remark" />
<result property="quotJsqrZyLeaderUserName" column="quot_jsqr_zy_leader_user_name" />
<result property="quotJsqrZyLeaderState" column="quot_jsqr_zy_leader_state" />
<result property="quotJsqrZyLeaderTime" column="quot_jsqr_zy_leader_time" />
<result property="quotJsqrZyLeaderRemark" column="quot_jsqr_zy_leader_remark" />
<result property="quotJsqrQtApprovalStatus" column="quot_jsqr_qt_approval_status" />
<result property="quotJsqrQtOperateUserName" column="quot_jsqr_qt_operate_user_name" />
<result property="quotJsqrQtOperateStatus" column="quot_jsqr_qt_operate_status" />
<result property="quotJsqrQtOperateTime" column="quot_jsqr_qt_operate_time" />
<result property="quotJsqrQtRemark" column="quot_jsqr_qt_remark" />
<result property="quotJsqrQtCheckUserName" column="quot_jsqr_qt_check_user_name" />
<result property="quotJsqrQtCheckState" column="quot_jsqr_qt_check_state" />
<result property="quotJsqrQtCheckTime" column="quot_jsqr_qt_check_time" />
<result property="quotJsqrQtCheckRemark" column="quot_jsqr_qt_check_remark" />
<result property="quotJsqrQtLeaderUserName" column="quot_jsqr_qt_leader_user_name" />
<result property="quotJsqrQtLeaderState" column="quot_jsqr_qt_leader_state" />
<result property="quotJsqrQtLeaderTime" column="quot_jsqr_qt_leader_time" />
<result property="quotJsqrQtLeaderRemark" column="quot_jsqr_qt_leader_remark" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
</resultMap>
<sql id="selectQuotJsqrVo">
select quot_jsqr_id, quot_jsqr_code, quot_jsqr_tl_approval_status, quot_jsqr_tl_operate_user_name, quot_jsqr_tl_operate_status, quot_jsqr_tl_operate_time, quot_jsqr_tl_remark, quot_jsqr_tl_check_user_name, quot_jsqr_tl_check_state, quot_jsqr_tl_check_time, quot_jsqr_tl_check_remark, quot_jsqr_tl_leader_user_name, quot_jsqr_tl_leader_state, quot_jsqr_tl_leader_time, quot_jsqr_tl_leader_remark, quot_jsqr_dy_approval_status, quot_jsqr_dy_operate_user_name, quot_jsqr_dy_operate_status, quot_jsqr_dy_operate_time, quot_jsqr_dy_remark, quot_jsqr_dy_check_user_name, quot_jsqr_dy_check_state, quot_jsqr_dy_check_time, quot_jsqr_dy_check_remark, quot_jsqr_dy_leader_user_name, quot_jsqr_dy_leader_state, quot_jsqr_dy_leader_time, quot_jsqr_dy_leader_remark, quot_jsqr_zy_approval_status, quot_jsqr_zy_operate_user_name, quot_jsqr_zy_operate_status, quot_jsqr_zy_operate_time, quot_jsqr_zy_remark, quot_jsqr_zy_check_user_name, quot_jsqr_zy_check_state, quot_jsqr_zy_check_time, quot_jsqr_zy_check_remark, quot_jsqr_zy_leader_user_name, quot_jsqr_zy_leader_state, quot_jsqr_zy_leader_time, quot_jsqr_zy_leader_remark, quot_jsqr_qt_approval_status, quot_jsqr_qt_operate_user_name, quot_jsqr_qt_operate_status, quot_jsqr_qt_operate_time, quot_jsqr_qt_remark, quot_jsqr_qt_check_user_name, quot_jsqr_qt_check_state, quot_jsqr_qt_check_time, quot_jsqr_qt_check_remark, quot_jsqr_qt_leader_user_name, quot_jsqr_qt_leader_state, quot_jsqr_qt_leader_time, quot_jsqr_qt_leader_remark, create_by, create_time, update_by, update_time from quot_jsqr
</sql>
<select id="selectQuotJsqrList" parameterType="QuotJsqr" resultMap="QuotJsqrResult">
<include refid="selectQuotJsqrVo"/>
<where>
<if test="quotJsqrCode != null and quotJsqrCode != ''"> and quot_jsqr_code like concat('%', #{quotJsqrCode}, '%')</if>
<if test="quotJsqrTlApprovalStatus != null and quotJsqrTlApprovalStatus != ''"> and quot_jsqr_tl_approval_status = #{quotJsqrTlApprovalStatus}</if>
<if test="quotJsqrDyApprovalStatus != null and quotJsqrDyApprovalStatus != ''"> and quot_jsqr_dy_approval_status = #{quotJsqrDyApprovalStatus}</if>
<if test="quotJsqrZyApprovalStatus != null and quotJsqrZyApprovalStatus != ''"> and quot_jsqr_zy_approval_status = #{quotJsqrZyApprovalStatus}</if>
<if test="quotJsqrQtApprovalStatus != null and quotJsqrQtApprovalStatus != ''"> and quot_jsqr_qt_approval_status = #{quotJsqrQtApprovalStatus}</if>
</where>
</select>
<select id="selectQuotJsqrByQuotJsqrId" parameterType="String" resultMap="QuotJsqrResult">
<include refid="selectQuotJsqrVo"/>
where quot_jsqr_id = #{quotJsqrId}
</select>
<insert id="insertQuotJsqr" parameterType="QuotJsqr">
insert into quot_jsqr
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="quotJsqrId != null">quot_jsqr_id,</if>
<if test="quotJsqrCode != null">quot_jsqr_code,</if>
<if test="quotJsqrTlApprovalStatus != null">quot_jsqr_tl_approval_status,</if>
<if test="quotJsqrTlOperateUserName != null">quot_jsqr_tl_operate_user_name,</if>
<if test="quotJsqrTlOperateStatus != null">quot_jsqr_tl_operate_status,</if>
<if test="quotJsqrTlOperateTime != null">quot_jsqr_tl_operate_time,</if>
<if test="quotJsqrTlRemark != null">quot_jsqr_tl_remark,</if>
<if test="quotJsqrTlCheckUserName != null">quot_jsqr_tl_check_user_name,</if>
<if test="quotJsqrTlCheckState != null">quot_jsqr_tl_check_state,</if>
<if test="quotJsqrTlCheckTime != null">quot_jsqr_tl_check_time,</if>
<if test="quotJsqrTlCheckRemark != null">quot_jsqr_tl_check_remark,</if>
<if test="quotJsqrTlLeaderUserName != null">quot_jsqr_tl_leader_user_name,</if>
<if test="quotJsqrTlLeaderState != null">quot_jsqr_tl_leader_state,</if>
<if test="quotJsqrTlLeaderTime != null">quot_jsqr_tl_leader_time,</if>
<if test="quotJsqrTlLeaderRemark != null">quot_jsqr_tl_leader_remark,</if>
<if test="quotJsqrDyApprovalStatus != null">quot_jsqr_dy_approval_status,</if>
<if test="quotJsqrDyOperateUserName != null">quot_jsqr_dy_operate_user_name,</if>
<if test="quotJsqrDyOperateStatus != null">quot_jsqr_dy_operate_status,</if>
<if test="quotJsqrDyOperateTime != null">quot_jsqr_dy_operate_time,</if>
<if test="quotJsqrDyRemark != null">quot_jsqr_dy_remark,</if>
<if test="quotJsqrDyCheckUserName != null">quot_jsqr_dy_check_user_name,</if>
<if test="quotJsqrDyCheckState != null">quot_jsqr_dy_check_state,</if>
<if test="quotJsqrDyCheckTime != null">quot_jsqr_dy_check_time,</if>
<if test="quotJsqrDyCheckRemark != null">quot_jsqr_dy_check_remark,</if>
<if test="quotJsqrDyLeaderUserName != null">quot_jsqr_dy_leader_user_name,</if>
<if test="quotJsqrDyLeaderState != null">quot_jsqr_dy_leader_state,</if>
<if test="quotJsqrDyLeaderTime != null">quot_jsqr_dy_leader_time,</if>
<if test="quotJsqrDyLeaderRemark != null">quot_jsqr_dy_leader_remark,</if>
<if test="quotJsqrZyApprovalStatus != null">quot_jsqr_zy_approval_status,</if>
<if test="quotJsqrZyOperateUserName != null">quot_jsqr_zy_operate_user_name,</if>
<if test="quotJsqrZyOperateStatus != null">quot_jsqr_zy_operate_status,</if>
<if test="quotJsqrZyOperateTime != null">quot_jsqr_zy_operate_time,</if>
<if test="quotJsqrZyRemark != null">quot_jsqr_zy_remark,</if>
<if test="quotJsqrZyCheckUserName != null">quot_jsqr_zy_check_user_name,</if>
<if test="quotJsqrZyCheckState != null">quot_jsqr_zy_check_state,</if>
<if test="quotJsqrZyCheckTime != null">quot_jsqr_zy_check_time,</if>
<if test="quotJsqrZyCheckRemark != null">quot_jsqr_zy_check_remark,</if>
<if test="quotJsqrZyLeaderUserName != null">quot_jsqr_zy_leader_user_name,</if>
<if test="quotJsqrZyLeaderState != null">quot_jsqr_zy_leader_state,</if>
<if test="quotJsqrZyLeaderTime != null">quot_jsqr_zy_leader_time,</if>
<if test="quotJsqrZyLeaderRemark != null">quot_jsqr_zy_leader_remark,</if>
<if test="quotJsqrQtApprovalStatus != null">quot_jsqr_qt_approval_status,</if>
<if test="quotJsqrQtOperateUserName != null">quot_jsqr_qt_operate_user_name,</if>
<if test="quotJsqrQtOperateStatus != null">quot_jsqr_qt_operate_status,</if>
<if test="quotJsqrQtOperateTime != null">quot_jsqr_qt_operate_time,</if>
<if test="quotJsqrQtRemark != null">quot_jsqr_qt_remark,</if>
<if test="quotJsqrQtCheckUserName != null">quot_jsqr_qt_check_user_name,</if>
<if test="quotJsqrQtCheckState != null">quot_jsqr_qt_check_state,</if>
<if test="quotJsqrQtCheckTime != null">quot_jsqr_qt_check_time,</if>
<if test="quotJsqrQtCheckRemark != null">quot_jsqr_qt_check_remark,</if>
<if test="quotJsqrQtLeaderUserName != null">quot_jsqr_qt_leader_user_name,</if>
<if test="quotJsqrQtLeaderState != null">quot_jsqr_qt_leader_state,</if>
<if test="quotJsqrQtLeaderTime != null">quot_jsqr_qt_leader_time,</if>
<if test="quotJsqrQtLeaderRemark != null">quot_jsqr_qt_leader_remark,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="quotJsqrId != null">#{quotJsqrId},</if>
<if test="quotJsqrCode != null">#{quotJsqrCode},</if>
<if test="quotJsqrTlApprovalStatus != null">#{quotJsqrTlApprovalStatus},</if>
<if test="quotJsqrTlOperateUserName != null">#{quotJsqrTlOperateUserName},</if>
<if test="quotJsqrTlOperateStatus != null">#{quotJsqrTlOperateStatus},</if>
<if test="quotJsqrTlOperateTime != null">#{quotJsqrTlOperateTime},</if>
<if test="quotJsqrTlRemark != null">#{quotJsqrTlRemark},</if>
<if test="quotJsqrTlCheckUserName != null">#{quotJsqrTlCheckUserName},</if>
<if test="quotJsqrTlCheckState != null">#{quotJsqrTlCheckState},</if>
<if test="quotJsqrTlCheckTime != null">#{quotJsqrTlCheckTime},</if>
<if test="quotJsqrTlCheckRemark != null">#{quotJsqrTlCheckRemark},</if>
<if test="quotJsqrTlLeaderUserName != null">#{quotJsqrTlLeaderUserName},</if>
<if test="quotJsqrTlLeaderState != null">#{quotJsqrTlLeaderState},</if>
<if test="quotJsqrTlLeaderTime != null">#{quotJsqrTlLeaderTime},</if>
<if test="quotJsqrTlLeaderRemark != null">#{quotJsqrTlLeaderRemark},</if>
<if test="quotJsqrDyApprovalStatus != null">#{quotJsqrDyApprovalStatus},</if>
<if test="quotJsqrDyOperateUserName != null">#{quotJsqrDyOperateUserName},</if>
<if test="quotJsqrDyOperateStatus != null">#{quotJsqrDyOperateStatus},</if>
<if test="quotJsqrDyOperateTime != null">#{quotJsqrDyOperateTime},</if>
<if test="quotJsqrDyRemark != null">#{quotJsqrDyRemark},</if>
<if test="quotJsqrDyCheckUserName != null">#{quotJsqrDyCheckUserName},</if>
<if test="quotJsqrDyCheckState != null">#{quotJsqrDyCheckState},</if>
<if test="quotJsqrDyCheckTime != null">#{quotJsqrDyCheckTime},</if>
<if test="quotJsqrDyCheckRemark != null">#{quotJsqrDyCheckRemark},</if>
<if test="quotJsqrDyLeaderUserName != null">#{quotJsqrDyLeaderUserName},</if>
<if test="quotJsqrDyLeaderState != null">#{quotJsqrDyLeaderState},</if>
<if test="quotJsqrDyLeaderTime != null">#{quotJsqrDyLeaderTime},</if>
<if test="quotJsqrDyLeaderRemark != null">#{quotJsqrDyLeaderRemark},</if>
<if test="quotJsqrZyApprovalStatus != null">#{quotJsqrZyApprovalStatus},</if>
<if test="quotJsqrZyOperateUserName != null">#{quotJsqrZyOperateUserName},</if>
<if test="quotJsqrZyOperateStatus != null">#{quotJsqrZyOperateStatus},</if>
<if test="quotJsqrZyOperateTime != null">#{quotJsqrZyOperateTime},</if>
<if test="quotJsqrZyRemark != null">#{quotJsqrZyRemark},</if>
<if test="quotJsqrZyCheckUserName != null">#{quotJsqrZyCheckUserName},</if>
<if test="quotJsqrZyCheckState != null">#{quotJsqrZyCheckState},</if>
<if test="quotJsqrZyCheckTime != null">#{quotJsqrZyCheckTime},</if>
<if test="quotJsqrZyCheckRemark != null">#{quotJsqrZyCheckRemark},</if>
<if test="quotJsqrZyLeaderUserName != null">#{quotJsqrZyLeaderUserName},</if>
<if test="quotJsqrZyLeaderState != null">#{quotJsqrZyLeaderState},</if>
<if test="quotJsqrZyLeaderTime != null">#{quotJsqrZyLeaderTime},</if>
<if test="quotJsqrZyLeaderRemark != null">#{quotJsqrZyLeaderRemark},</if>
<if test="quotJsqrQtApprovalStatus != null">#{quotJsqrQtApprovalStatus},</if>
<if test="quotJsqrQtOperateUserName != null">#{quotJsqrQtOperateUserName},</if>
<if test="quotJsqrQtOperateStatus != null">#{quotJsqrQtOperateStatus},</if>
<if test="quotJsqrQtOperateTime != null">#{quotJsqrQtOperateTime},</if>
<if test="quotJsqrQtRemark != null">#{quotJsqrQtRemark},</if>
<if test="quotJsqrQtCheckUserName != null">#{quotJsqrQtCheckUserName},</if>
<if test="quotJsqrQtCheckState != null">#{quotJsqrQtCheckState},</if>
<if test="quotJsqrQtCheckTime != null">#{quotJsqrQtCheckTime},</if>
<if test="quotJsqrQtCheckRemark != null">#{quotJsqrQtCheckRemark},</if>
<if test="quotJsqrQtLeaderUserName != null">#{quotJsqrQtLeaderUserName},</if>
<if test="quotJsqrQtLeaderState != null">#{quotJsqrQtLeaderState},</if>
<if test="quotJsqrQtLeaderTime != null">#{quotJsqrQtLeaderTime},</if>
<if test="quotJsqrQtLeaderRemark != null">#{quotJsqrQtLeaderRemark},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
</trim>
</insert>
<update id="updateQuotJsqr" parameterType="QuotJsqr">
update quot_jsqr
<trim prefix="SET" suffixOverrides=",">
<if test="quotJsqrCode != null">quot_jsqr_code = #{quotJsqrCode},</if>
<if test="quotJsqrTlApprovalStatus != null">quot_jsqr_tl_approval_status = #{quotJsqrTlApprovalStatus},</if>
<if test="quotJsqrTlOperateUserName != null">quot_jsqr_tl_operate_user_name = #{quotJsqrTlOperateUserName},</if>
<if test="quotJsqrTlOperateStatus != null">quot_jsqr_tl_operate_status = #{quotJsqrTlOperateStatus},</if>
<if test="quotJsqrTlOperateTime != null">quot_jsqr_tl_operate_time = #{quotJsqrTlOperateTime},</if>
<if test="quotJsqrTlRemark != null">quot_jsqr_tl_remark = #{quotJsqrTlRemark},</if>
<if test="quotJsqrTlCheckUserName != null">quot_jsqr_tl_check_user_name = #{quotJsqrTlCheckUserName},</if>
<if test="quotJsqrTlCheckState != null">quot_jsqr_tl_check_state = #{quotJsqrTlCheckState},</if>
<if test="quotJsqrTlCheckTime != null">quot_jsqr_tl_check_time = #{quotJsqrTlCheckTime},</if>
<if test="quotJsqrTlCheckRemark != null">quot_jsqr_tl_check_remark = #{quotJsqrTlCheckRemark},</if>
<if test="quotJsqrTlLeaderUserName != null">quot_jsqr_tl_leader_user_name = #{quotJsqrTlLeaderUserName},</if>
<if test="quotJsqrTlLeaderState != null">quot_jsqr_tl_leader_state = #{quotJsqrTlLeaderState},</if>
<if test="quotJsqrTlLeaderTime != null">quot_jsqr_tl_leader_time = #{quotJsqrTlLeaderTime},</if>
<if test="quotJsqrTlLeaderRemark != null">quot_jsqr_tl_leader_remark = #{quotJsqrTlLeaderRemark},</if>
<if test="quotJsqrDyApprovalStatus != null">quot_jsqr_dy_approval_status = #{quotJsqrDyApprovalStatus},</if>
<if test="quotJsqrDyOperateUserName != null">quot_jsqr_dy_operate_user_name = #{quotJsqrDyOperateUserName},</if>
<if test="quotJsqrDyOperateStatus != null">quot_jsqr_dy_operate_status = #{quotJsqrDyOperateStatus},</if>
<if test="quotJsqrDyOperateTime != null">quot_jsqr_dy_operate_time = #{quotJsqrDyOperateTime},</if>
<if test="quotJsqrDyRemark != null">quot_jsqr_dy_remark = #{quotJsqrDyRemark},</if>
<if test="quotJsqrDyCheckUserName != null">quot_jsqr_dy_check_user_name = #{quotJsqrDyCheckUserName},</if>
<if test="quotJsqrDyCheckState != null">quot_jsqr_dy_check_state = #{quotJsqrDyCheckState},</if>
<if test="quotJsqrDyCheckTime != null">quot_jsqr_dy_check_time = #{quotJsqrDyCheckTime},</if>
<if test="quotJsqrDyCheckRemark != null">quot_jsqr_dy_check_remark = #{quotJsqrDyCheckRemark},</if>
<if test="quotJsqrDyLeaderUserName != null">quot_jsqr_dy_leader_user_name = #{quotJsqrDyLeaderUserName},</if>
<if test="quotJsqrDyLeaderState != null">quot_jsqr_dy_leader_state = #{quotJsqrDyLeaderState},</if>
<if test="quotJsqrDyLeaderTime != null">quot_jsqr_dy_leader_time = #{quotJsqrDyLeaderTime},</if>
<if test="quotJsqrDyLeaderRemark != null">quot_jsqr_dy_leader_remark = #{quotJsqrDyLeaderRemark},</if>
<if test="quotJsqrZyApprovalStatus != null">quot_jsqr_zy_approval_status = #{quotJsqrZyApprovalStatus},</if>
<if test="quotJsqrZyOperateUserName != null">quot_jsqr_zy_operate_user_name = #{quotJsqrZyOperateUserName},</if>
<if test="quotJsqrZyOperateStatus != null">quot_jsqr_zy_operate_status = #{quotJsqrZyOperateStatus},</if>
<if test="quotJsqrZyOperateTime != null">quot_jsqr_zy_operate_time = #{quotJsqrZyOperateTime},</if>
<if test="quotJsqrZyRemark != null">quot_jsqr_zy_remark = #{quotJsqrZyRemark},</if>
<if test="quotJsqrZyCheckUserName != null">quot_jsqr_zy_check_user_name = #{quotJsqrZyCheckUserName},</if>
<if test="quotJsqrZyCheckState != null">quot_jsqr_zy_check_state = #{quotJsqrZyCheckState},</if>
<if test="quotJsqrZyCheckTime != null">quot_jsqr_zy_check_time = #{quotJsqrZyCheckTime},</if>
<if test="quotJsqrZyCheckRemark != null">quot_jsqr_zy_check_remark = #{quotJsqrZyCheckRemark},</if>
<if test="quotJsqrZyLeaderUserName != null">quot_jsqr_zy_leader_user_name = #{quotJsqrZyLeaderUserName},</if>
<if test="quotJsqrZyLeaderState != null">quot_jsqr_zy_leader_state = #{quotJsqrZyLeaderState},</if>
<if test="quotJsqrZyLeaderTime != null">quot_jsqr_zy_leader_time = #{quotJsqrZyLeaderTime},</if>
<if test="quotJsqrZyLeaderRemark != null">quot_jsqr_zy_leader_remark = #{quotJsqrZyLeaderRemark},</if>
<if test="quotJsqrQtApprovalStatus != null">quot_jsqr_qt_approval_status = #{quotJsqrQtApprovalStatus},</if>
<if test="quotJsqrQtOperateUserName != null">quot_jsqr_qt_operate_user_name = #{quotJsqrQtOperateUserName},</if>
<if test="quotJsqrQtOperateStatus != null">quot_jsqr_qt_operate_status = #{quotJsqrQtOperateStatus},</if>
<if test="quotJsqrQtOperateTime != null">quot_jsqr_qt_operate_time = #{quotJsqrQtOperateTime},</if>
<if test="quotJsqrQtRemark != null">quot_jsqr_qt_remark = #{quotJsqrQtRemark},</if>
<if test="quotJsqrQtCheckUserName != null">quot_jsqr_qt_check_user_name = #{quotJsqrQtCheckUserName},</if>
<if test="quotJsqrQtCheckState != null">quot_jsqr_qt_check_state = #{quotJsqrQtCheckState},</if>
<if test="quotJsqrQtCheckTime != null">quot_jsqr_qt_check_time = #{quotJsqrQtCheckTime},</if>
<if test="quotJsqrQtCheckRemark != null">quot_jsqr_qt_check_remark = #{quotJsqrQtCheckRemark},</if>
<if test="quotJsqrQtLeaderUserName != null">quot_jsqr_qt_leader_user_name = #{quotJsqrQtLeaderUserName},</if>
<if test="quotJsqrQtLeaderState != null">quot_jsqr_qt_leader_state = #{quotJsqrQtLeaderState},</if>
<if test="quotJsqrQtLeaderTime != null">quot_jsqr_qt_leader_time = #{quotJsqrQtLeaderTime},</if>
<if test="quotJsqrQtLeaderRemark != null">quot_jsqr_qt_leader_remark = #{quotJsqrQtLeaderRemark},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
</trim>
where quot_jsqr_id = #{quotJsqrId}
</update>
<delete id="deleteQuotJsqrByQuotJsqrId" parameterType="String">
delete from quot_jsqr where quot_jsqr_id = #{quotJsqrId}
</delete>
<delete id="deleteQuotJsqrByQuotJsqrIds" parameterType="String">
delete from quot_jsqr where quot_jsqr_id in
<foreach item="quotJsqrId" collection="array" open="(" separator="," close=")">
#{quotJsqrId}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,286 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.technicalConfirm.mapper.QuotJsqrMapper">
<resultMap type="QuotJsqr" id="QuotJsqrResult">
<result property="quotJsqrId" column="quot_jsqr_id" />
<result property="quotJsqrCode" column="quot_jsqr_code" />
<result property="quotJsqrTlApprovalStatus" column="quot_jsqr_tl_approval_status" />
<result property="quotJsqrTlOperateUserName" column="quot_jsqr_tl_operate_user_name" />
<result property="quotJsqrTlOperateStatus" column="quot_jsqr_tl_operate_status" />
<result property="quotJsqrTlOperateTime" column="quot_jsqr_tl_operate_time" />
<result property="quotJsqrTlRemark" column="quot_jsqr_tl_remark" />
<result property="quotJsqrTlCheckUserName" column="quot_jsqr_tl_check_user_name" />
<result property="quotJsqrTlCheckState" column="quot_jsqr_tl_check_state" />
<result property="quotJsqrTlCheckTime" column="quot_jsqr_tl_check_time" />
<result property="quotJsqrTlCheckRemark" column="quot_jsqr_tl_check_remark" />
<result property="quotJsqrTlLeaderUserName" column="quot_jsqr_tl_leader_user_name" />
<result property="quotJsqrTlLeaderState" column="quot_jsqr_tl_leader_state" />
<result property="quotJsqrTlLeaderTime" column="quot_jsqr_tl_leader_time" />
<result property="quotJsqrTlLeaderRemark" column="quot_jsqr_tl_leader_remark" />
<result property="quotJsqrDyApprovalStatus" column="quot_jsqr_dy_approval_status" />
<result property="quotJsqrDyOperateUserName" column="quot_jsqr_dy_operate_user_name" />
<result property="quotJsqrDyOperateStatus" column="quot_jsqr_dy_operate_status" />
<result property="quotJsqrDyOperateTime" column="quot_jsqr_dy_operate_time" />
<result property="quotJsqrDyRemark" column="quot_jsqr_dy_remark" />
<result property="quotJsqrDyCheckUserName" column="quot_jsqr_dy_check_user_name" />
<result property="quotJsqrDyCheckState" column="quot_jsqr_dy_check_state" />
<result property="quotJsqrDyCheckTime" column="quot_jsqr_dy_check_time" />
<result property="quotJsqrDyCheckRemark" column="quot_jsqr_dy_check_remark" />
<result property="quotJsqrDyLeaderUserName" column="quot_jsqr_dy_leader_user_name" />
<result property="quotJsqrDyLeaderState" column="quot_jsqr_dy_leader_state" />
<result property="quotJsqrDyLeaderTime" column="quot_jsqr_dy_leader_time" />
<result property="quotJsqrDyLeaderRemark" column="quot_jsqr_dy_leader_remark" />
<result property="quotJsqrZyApprovalStatus" column="quot_jsqr_zy_approval_status" />
<result property="quotJsqrZyOperateUserName" column="quot_jsqr_zy_operate_user_name" />
<result property="quotJsqrZyOperateStatus" column="quot_jsqr_zy_operate_status" />
<result property="quotJsqrZyOperateTime" column="quot_jsqr_zy_operate_time" />
<result property="quotJsqrZyRemark" column="quot_jsqr_zy_remark" />
<result property="quotJsqrZyCheckUserName" column="quot_jsqr_zy_check_user_name" />
<result property="quotJsqrZyCheckState" column="quot_jsqr_zy_check_state" />
<result property="quotJsqrZyCheckTime" column="quot_jsqr_zy_check_time" />
<result property="quotJsqrZyCheckRemark" column="quot_jsqr_zy_check_remark" />
<result property="quotJsqrZyLeaderUserName" column="quot_jsqr_zy_leader_user_name" />
<result property="quotJsqrZyLeaderState" column="quot_jsqr_zy_leader_state" />
<result property="quotJsqrZyLeaderTime" column="quot_jsqr_zy_leader_time" />
<result property="quotJsqrZyLeaderRemark" column="quot_jsqr_zy_leader_remark" />
<result property="quotJsqrQtApprovalStatus" column="quot_jsqr_qt_approval_status" />
<result property="quotJsqrQtOperateUserName" column="quot_jsqr_qt_operate_user_name" />
<result property="quotJsqrQtOperateStatus" column="quot_jsqr_qt_operate_status" />
<result property="quotJsqrQtOperateTime" column="quot_jsqr_qt_operate_time" />
<result property="quotJsqrQtRemark" column="quot_jsqr_qt_remark" />
<result property="quotJsqrQtCheckUserName" column="quot_jsqr_qt_check_user_name" />
<result property="quotJsqrQtCheckState" column="quot_jsqr_qt_check_state" />
<result property="quotJsqrQtCheckTime" column="quot_jsqr_qt_check_time" />
<result property="quotJsqrQtCheckRemark" column="quot_jsqr_qt_check_remark" />
<result property="quotJsqrQtLeaderUserName" column="quot_jsqr_qt_leader_user_name" />
<result property="quotJsqrQtLeaderState" column="quot_jsqr_qt_leader_state" />
<result property="quotJsqrQtLeaderTime" column="quot_jsqr_qt_leader_time" />
<result property="quotJsqrQtLeaderRemark" column="quot_jsqr_qt_leader_remark" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
</resultMap>
<sql id="selectQuotJsqrVo">
select quot_jsqr_id, quot_jsqr_code, quot_jsqr_tl_approval_status, quot_jsqr_tl_operate_user_name, quot_jsqr_tl_operate_status, quot_jsqr_tl_operate_time, quot_jsqr_tl_remark, quot_jsqr_tl_check_user_name, quot_jsqr_tl_check_state, quot_jsqr_tl_check_time, quot_jsqr_tl_check_remark, quot_jsqr_tl_leader_user_name, quot_jsqr_tl_leader_state, quot_jsqr_tl_leader_time, quot_jsqr_tl_leader_remark, quot_jsqr_dy_approval_status, quot_jsqr_dy_operate_user_name, quot_jsqr_dy_operate_status, quot_jsqr_dy_operate_time, quot_jsqr_dy_remark, quot_jsqr_dy_check_user_name, quot_jsqr_dy_check_state, quot_jsqr_dy_check_time, quot_jsqr_dy_check_remark, quot_jsqr_dy_leader_user_name, quot_jsqr_dy_leader_state, quot_jsqr_dy_leader_time, quot_jsqr_dy_leader_remark, quot_jsqr_zy_approval_status, quot_jsqr_zy_operate_user_name, quot_jsqr_zy_operate_status, quot_jsqr_zy_operate_time, quot_jsqr_zy_remark, quot_jsqr_zy_check_user_name, quot_jsqr_zy_check_state, quot_jsqr_zy_check_time, quot_jsqr_zy_check_remark, quot_jsqr_zy_leader_user_name, quot_jsqr_zy_leader_state, quot_jsqr_zy_leader_time, quot_jsqr_zy_leader_remark, quot_jsqr_qt_approval_status, quot_jsqr_qt_operate_user_name, quot_jsqr_qt_operate_status, quot_jsqr_qt_operate_time, quot_jsqr_qt_remark, quot_jsqr_qt_check_user_name, quot_jsqr_qt_check_state, quot_jsqr_qt_check_time, quot_jsqr_qt_check_remark, quot_jsqr_qt_leader_user_name, quot_jsqr_qt_leader_state, quot_jsqr_qt_leader_time, quot_jsqr_qt_leader_remark, create_by, create_time, update_by, update_time from quot_jsqr
</sql>
<select id="selectQuotJsqrList" parameterType="QuotJsqr" resultMap="QuotJsqrResult">
<include refid="selectQuotJsqrVo"/>
<where>
<if test="quotJsqrCode != null and quotJsqrCode != ''"> and quot_jsqr_code like concat('%', #{quotJsqrCode}, '%')</if>
<if test="quotJsqrTlApprovalStatus != null and quotJsqrTlApprovalStatus != ''"> and quot_jsqr_tl_approval_status = #{quotJsqrTlApprovalStatus}</if>
<if test="quotJsqrDyApprovalStatus != null and quotJsqrDyApprovalStatus != ''"> and quot_jsqr_dy_approval_status = #{quotJsqrDyApprovalStatus}</if>
<if test="quotJsqrZyApprovalStatus != null and quotJsqrZyApprovalStatus != ''"> and quot_jsqr_zy_approval_status = #{quotJsqrZyApprovalStatus}</if>
<if test="quotJsqrQtApprovalStatus != null and quotJsqrQtApprovalStatus != ''"> and quot_jsqr_qt_approval_status = #{quotJsqrQtApprovalStatus}</if>
</where>
</select>
<select id="selectQuotJsqrByQuotJsqrId" parameterType="String" resultMap="QuotJsqrResult">
<include refid="selectQuotJsqrVo"/>
where quot_jsqr_id = #{quotJsqrId}
</select>
<insert id="insertQuotJsqr" parameterType="QuotJsqr">
insert into quot_jsqr
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="quotJsqrId != null">quot_jsqr_id,</if>
<if test="quotJsqrCode != null">quot_jsqr_code,</if>
<if test="quotJsqrTlApprovalStatus != null">quot_jsqr_tl_approval_status,</if>
<if test="quotJsqrTlOperateUserName != null">quot_jsqr_tl_operate_user_name,</if>
<if test="quotJsqrTlOperateStatus != null">quot_jsqr_tl_operate_status,</if>
<if test="quotJsqrTlOperateTime != null">quot_jsqr_tl_operate_time,</if>
<if test="quotJsqrTlRemark != null">quot_jsqr_tl_remark,</if>
<if test="quotJsqrTlCheckUserName != null">quot_jsqr_tl_check_user_name,</if>
<if test="quotJsqrTlCheckState != null">quot_jsqr_tl_check_state,</if>
<if test="quotJsqrTlCheckTime != null">quot_jsqr_tl_check_time,</if>
<if test="quotJsqrTlCheckRemark != null">quot_jsqr_tl_check_remark,</if>
<if test="quotJsqrTlLeaderUserName != null">quot_jsqr_tl_leader_user_name,</if>
<if test="quotJsqrTlLeaderState != null">quot_jsqr_tl_leader_state,</if>
<if test="quotJsqrTlLeaderTime != null">quot_jsqr_tl_leader_time,</if>
<if test="quotJsqrTlLeaderRemark != null">quot_jsqr_tl_leader_remark,</if>
<if test="quotJsqrDyApprovalStatus != null">quot_jsqr_dy_approval_status,</if>
<if test="quotJsqrDyOperateUserName != null">quot_jsqr_dy_operate_user_name,</if>
<if test="quotJsqrDyOperateStatus != null">quot_jsqr_dy_operate_status,</if>
<if test="quotJsqrDyOperateTime != null">quot_jsqr_dy_operate_time,</if>
<if test="quotJsqrDyRemark != null">quot_jsqr_dy_remark,</if>
<if test="quotJsqrDyCheckUserName != null">quot_jsqr_dy_check_user_name,</if>
<if test="quotJsqrDyCheckState != null">quot_jsqr_dy_check_state,</if>
<if test="quotJsqrDyCheckTime != null">quot_jsqr_dy_check_time,</if>
<if test="quotJsqrDyCheckRemark != null">quot_jsqr_dy_check_remark,</if>
<if test="quotJsqrDyLeaderUserName != null">quot_jsqr_dy_leader_user_name,</if>
<if test="quotJsqrDyLeaderState != null">quot_jsqr_dy_leader_state,</if>
<if test="quotJsqrDyLeaderTime != null">quot_jsqr_dy_leader_time,</if>
<if test="quotJsqrDyLeaderRemark != null">quot_jsqr_dy_leader_remark,</if>
<if test="quotJsqrZyApprovalStatus != null">quot_jsqr_zy_approval_status,</if>
<if test="quotJsqrZyOperateUserName != null">quot_jsqr_zy_operate_user_name,</if>
<if test="quotJsqrZyOperateStatus != null">quot_jsqr_zy_operate_status,</if>
<if test="quotJsqrZyOperateTime != null">quot_jsqr_zy_operate_time,</if>
<if test="quotJsqrZyRemark != null">quot_jsqr_zy_remark,</if>
<if test="quotJsqrZyCheckUserName != null">quot_jsqr_zy_check_user_name,</if>
<if test="quotJsqrZyCheckState != null">quot_jsqr_zy_check_state,</if>
<if test="quotJsqrZyCheckTime != null">quot_jsqr_zy_check_time,</if>
<if test="quotJsqrZyCheckRemark != null">quot_jsqr_zy_check_remark,</if>
<if test="quotJsqrZyLeaderUserName != null">quot_jsqr_zy_leader_user_name,</if>
<if test="quotJsqrZyLeaderState != null">quot_jsqr_zy_leader_state,</if>
<if test="quotJsqrZyLeaderTime != null">quot_jsqr_zy_leader_time,</if>
<if test="quotJsqrZyLeaderRemark != null">quot_jsqr_zy_leader_remark,</if>
<if test="quotJsqrQtApprovalStatus != null">quot_jsqr_qt_approval_status,</if>
<if test="quotJsqrQtOperateUserName != null">quot_jsqr_qt_operate_user_name,</if>
<if test="quotJsqrQtOperateStatus != null">quot_jsqr_qt_operate_status,</if>
<if test="quotJsqrQtOperateTime != null">quot_jsqr_qt_operate_time,</if>
<if test="quotJsqrQtRemark != null">quot_jsqr_qt_remark,</if>
<if test="quotJsqrQtCheckUserName != null">quot_jsqr_qt_check_user_name,</if>
<if test="quotJsqrQtCheckState != null">quot_jsqr_qt_check_state,</if>
<if test="quotJsqrQtCheckTime != null">quot_jsqr_qt_check_time,</if>
<if test="quotJsqrQtCheckRemark != null">quot_jsqr_qt_check_remark,</if>
<if test="quotJsqrQtLeaderUserName != null">quot_jsqr_qt_leader_user_name,</if>
<if test="quotJsqrQtLeaderState != null">quot_jsqr_qt_leader_state,</if>
<if test="quotJsqrQtLeaderTime != null">quot_jsqr_qt_leader_time,</if>
<if test="quotJsqrQtLeaderRemark != null">quot_jsqr_qt_leader_remark,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="quotJsqrId != null">#{quotJsqrId},</if>
<if test="quotJsqrCode != null">#{quotJsqrCode},</if>
<if test="quotJsqrTlApprovalStatus != null">#{quotJsqrTlApprovalStatus},</if>
<if test="quotJsqrTlOperateUserName != null">#{quotJsqrTlOperateUserName},</if>
<if test="quotJsqrTlOperateStatus != null">#{quotJsqrTlOperateStatus},</if>
<if test="quotJsqrTlOperateTime != null">#{quotJsqrTlOperateTime},</if>
<if test="quotJsqrTlRemark != null">#{quotJsqrTlRemark},</if>
<if test="quotJsqrTlCheckUserName != null">#{quotJsqrTlCheckUserName},</if>
<if test="quotJsqrTlCheckState != null">#{quotJsqrTlCheckState},</if>
<if test="quotJsqrTlCheckTime != null">#{quotJsqrTlCheckTime},</if>
<if test="quotJsqrTlCheckRemark != null">#{quotJsqrTlCheckRemark},</if>
<if test="quotJsqrTlLeaderUserName != null">#{quotJsqrTlLeaderUserName},</if>
<if test="quotJsqrTlLeaderState != null">#{quotJsqrTlLeaderState},</if>
<if test="quotJsqrTlLeaderTime != null">#{quotJsqrTlLeaderTime},</if>
<if test="quotJsqrTlLeaderRemark != null">#{quotJsqrTlLeaderRemark},</if>
<if test="quotJsqrDyApprovalStatus != null">#{quotJsqrDyApprovalStatus},</if>
<if test="quotJsqrDyOperateUserName != null">#{quotJsqrDyOperateUserName},</if>
<if test="quotJsqrDyOperateStatus != null">#{quotJsqrDyOperateStatus},</if>
<if test="quotJsqrDyOperateTime != null">#{quotJsqrDyOperateTime},</if>
<if test="quotJsqrDyRemark != null">#{quotJsqrDyRemark},</if>
<if test="quotJsqrDyCheckUserName != null">#{quotJsqrDyCheckUserName},</if>
<if test="quotJsqrDyCheckState != null">#{quotJsqrDyCheckState},</if>
<if test="quotJsqrDyCheckTime != null">#{quotJsqrDyCheckTime},</if>
<if test="quotJsqrDyCheckRemark != null">#{quotJsqrDyCheckRemark},</if>
<if test="quotJsqrDyLeaderUserName != null">#{quotJsqrDyLeaderUserName},</if>
<if test="quotJsqrDyLeaderState != null">#{quotJsqrDyLeaderState},</if>
<if test="quotJsqrDyLeaderTime != null">#{quotJsqrDyLeaderTime},</if>
<if test="quotJsqrDyLeaderRemark != null">#{quotJsqrDyLeaderRemark},</if>
<if test="quotJsqrZyApprovalStatus != null">#{quotJsqrZyApprovalStatus},</if>
<if test="quotJsqrZyOperateUserName != null">#{quotJsqrZyOperateUserName},</if>
<if test="quotJsqrZyOperateStatus != null">#{quotJsqrZyOperateStatus},</if>
<if test="quotJsqrZyOperateTime != null">#{quotJsqrZyOperateTime},</if>
<if test="quotJsqrZyRemark != null">#{quotJsqrZyRemark},</if>
<if test="quotJsqrZyCheckUserName != null">#{quotJsqrZyCheckUserName},</if>
<if test="quotJsqrZyCheckState != null">#{quotJsqrZyCheckState},</if>
<if test="quotJsqrZyCheckTime != null">#{quotJsqrZyCheckTime},</if>
<if test="quotJsqrZyCheckRemark != null">#{quotJsqrZyCheckRemark},</if>
<if test="quotJsqrZyLeaderUserName != null">#{quotJsqrZyLeaderUserName},</if>
<if test="quotJsqrZyLeaderState != null">#{quotJsqrZyLeaderState},</if>
<if test="quotJsqrZyLeaderTime != null">#{quotJsqrZyLeaderTime},</if>
<if test="quotJsqrZyLeaderRemark != null">#{quotJsqrZyLeaderRemark},</if>
<if test="quotJsqrQtApprovalStatus != null">#{quotJsqrQtApprovalStatus},</if>
<if test="quotJsqrQtOperateUserName != null">#{quotJsqrQtOperateUserName},</if>
<if test="quotJsqrQtOperateStatus != null">#{quotJsqrQtOperateStatus},</if>
<if test="quotJsqrQtOperateTime != null">#{quotJsqrQtOperateTime},</if>
<if test="quotJsqrQtRemark != null">#{quotJsqrQtRemark},</if>
<if test="quotJsqrQtCheckUserName != null">#{quotJsqrQtCheckUserName},</if>
<if test="quotJsqrQtCheckState != null">#{quotJsqrQtCheckState},</if>
<if test="quotJsqrQtCheckTime != null">#{quotJsqrQtCheckTime},</if>
<if test="quotJsqrQtCheckRemark != null">#{quotJsqrQtCheckRemark},</if>
<if test="quotJsqrQtLeaderUserName != null">#{quotJsqrQtLeaderUserName},</if>
<if test="quotJsqrQtLeaderState != null">#{quotJsqrQtLeaderState},</if>
<if test="quotJsqrQtLeaderTime != null">#{quotJsqrQtLeaderTime},</if>
<if test="quotJsqrQtLeaderRemark != null">#{quotJsqrQtLeaderRemark},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
</trim>
</insert>
<update id="updateQuotJsqr" parameterType="QuotJsqr">
update quot_jsqr
<trim prefix="SET" suffixOverrides=",">
<if test="quotJsqrCode != null">quot_jsqr_code = #{quotJsqrCode},</if>
<if test="quotJsqrTlApprovalStatus != null">quot_jsqr_tl_approval_status = #{quotJsqrTlApprovalStatus},</if>
<if test="quotJsqrTlOperateUserName != null">quot_jsqr_tl_operate_user_name = #{quotJsqrTlOperateUserName},</if>
<if test="quotJsqrTlOperateStatus != null">quot_jsqr_tl_operate_status = #{quotJsqrTlOperateStatus},</if>
<if test="quotJsqrTlOperateTime != null">quot_jsqr_tl_operate_time = #{quotJsqrTlOperateTime},</if>
<if test="quotJsqrTlRemark != null">quot_jsqr_tl_remark = #{quotJsqrTlRemark},</if>
<if test="quotJsqrTlCheckUserName != null">quot_jsqr_tl_check_user_name = #{quotJsqrTlCheckUserName},</if>
<if test="quotJsqrTlCheckState != null">quot_jsqr_tl_check_state = #{quotJsqrTlCheckState},</if>
<if test="quotJsqrTlCheckTime != null">quot_jsqr_tl_check_time = #{quotJsqrTlCheckTime},</if>
<if test="quotJsqrTlCheckRemark != null">quot_jsqr_tl_check_remark = #{quotJsqrTlCheckRemark},</if>
<if test="quotJsqrTlLeaderUserName != null">quot_jsqr_tl_leader_user_name = #{quotJsqrTlLeaderUserName},</if>
<if test="quotJsqrTlLeaderState != null">quot_jsqr_tl_leader_state = #{quotJsqrTlLeaderState},</if>
<if test="quotJsqrTlLeaderTime != null">quot_jsqr_tl_leader_time = #{quotJsqrTlLeaderTime},</if>
<if test="quotJsqrTlLeaderRemark != null">quot_jsqr_tl_leader_remark = #{quotJsqrTlLeaderRemark},</if>
<if test="quotJsqrDyApprovalStatus != null">quot_jsqr_dy_approval_status = #{quotJsqrDyApprovalStatus},</if>
<if test="quotJsqrDyOperateUserName != null">quot_jsqr_dy_operate_user_name = #{quotJsqrDyOperateUserName},</if>
<if test="quotJsqrDyOperateStatus != null">quot_jsqr_dy_operate_status = #{quotJsqrDyOperateStatus},</if>
<if test="quotJsqrDyOperateTime != null">quot_jsqr_dy_operate_time = #{quotJsqrDyOperateTime},</if>
<if test="quotJsqrDyRemark != null">quot_jsqr_dy_remark = #{quotJsqrDyRemark},</if>
<if test="quotJsqrDyCheckUserName != null">quot_jsqr_dy_check_user_name = #{quotJsqrDyCheckUserName},</if>
<if test="quotJsqrDyCheckState != null">quot_jsqr_dy_check_state = #{quotJsqrDyCheckState},</if>
<if test="quotJsqrDyCheckTime != null">quot_jsqr_dy_check_time = #{quotJsqrDyCheckTime},</if>
<if test="quotJsqrDyCheckRemark != null">quot_jsqr_dy_check_remark = #{quotJsqrDyCheckRemark},</if>
<if test="quotJsqrDyLeaderUserName != null">quot_jsqr_dy_leader_user_name = #{quotJsqrDyLeaderUserName},</if>
<if test="quotJsqrDyLeaderState != null">quot_jsqr_dy_leader_state = #{quotJsqrDyLeaderState},</if>
<if test="quotJsqrDyLeaderTime != null">quot_jsqr_dy_leader_time = #{quotJsqrDyLeaderTime},</if>
<if test="quotJsqrDyLeaderRemark != null">quot_jsqr_dy_leader_remark = #{quotJsqrDyLeaderRemark},</if>
<if test="quotJsqrZyApprovalStatus != null">quot_jsqr_zy_approval_status = #{quotJsqrZyApprovalStatus},</if>
<if test="quotJsqrZyOperateUserName != null">quot_jsqr_zy_operate_user_name = #{quotJsqrZyOperateUserName},</if>
<if test="quotJsqrZyOperateStatus != null">quot_jsqr_zy_operate_status = #{quotJsqrZyOperateStatus},</if>
<if test="quotJsqrZyOperateTime != null">quot_jsqr_zy_operate_time = #{quotJsqrZyOperateTime},</if>
<if test="quotJsqrZyRemark != null">quot_jsqr_zy_remark = #{quotJsqrZyRemark},</if>
<if test="quotJsqrZyCheckUserName != null">quot_jsqr_zy_check_user_name = #{quotJsqrZyCheckUserName},</if>
<if test="quotJsqrZyCheckState != null">quot_jsqr_zy_check_state = #{quotJsqrZyCheckState},</if>
<if test="quotJsqrZyCheckTime != null">quot_jsqr_zy_check_time = #{quotJsqrZyCheckTime},</if>
<if test="quotJsqrZyCheckRemark != null">quot_jsqr_zy_check_remark = #{quotJsqrZyCheckRemark},</if>
<if test="quotJsqrZyLeaderUserName != null">quot_jsqr_zy_leader_user_name = #{quotJsqrZyLeaderUserName},</if>
<if test="quotJsqrZyLeaderState != null">quot_jsqr_zy_leader_state = #{quotJsqrZyLeaderState},</if>
<if test="quotJsqrZyLeaderTime != null">quot_jsqr_zy_leader_time = #{quotJsqrZyLeaderTime},</if>
<if test="quotJsqrZyLeaderRemark != null">quot_jsqr_zy_leader_remark = #{quotJsqrZyLeaderRemark},</if>
<if test="quotJsqrQtApprovalStatus != null">quot_jsqr_qt_approval_status = #{quotJsqrQtApprovalStatus},</if>
<if test="quotJsqrQtOperateUserName != null">quot_jsqr_qt_operate_user_name = #{quotJsqrQtOperateUserName},</if>
<if test="quotJsqrQtOperateStatus != null">quot_jsqr_qt_operate_status = #{quotJsqrQtOperateStatus},</if>
<if test="quotJsqrQtOperateTime != null">quot_jsqr_qt_operate_time = #{quotJsqrQtOperateTime},</if>
<if test="quotJsqrQtRemark != null">quot_jsqr_qt_remark = #{quotJsqrQtRemark},</if>
<if test="quotJsqrQtCheckUserName != null">quot_jsqr_qt_check_user_name = #{quotJsqrQtCheckUserName},</if>
<if test="quotJsqrQtCheckState != null">quot_jsqr_qt_check_state = #{quotJsqrQtCheckState},</if>
<if test="quotJsqrQtCheckTime != null">quot_jsqr_qt_check_time = #{quotJsqrQtCheckTime},</if>
<if test="quotJsqrQtCheckRemark != null">quot_jsqr_qt_check_remark = #{quotJsqrQtCheckRemark},</if>
<if test="quotJsqrQtLeaderUserName != null">quot_jsqr_qt_leader_user_name = #{quotJsqrQtLeaderUserName},</if>
<if test="quotJsqrQtLeaderState != null">quot_jsqr_qt_leader_state = #{quotJsqrQtLeaderState},</if>
<if test="quotJsqrQtLeaderTime != null">quot_jsqr_qt_leader_time = #{quotJsqrQtLeaderTime},</if>
<if test="quotJsqrQtLeaderRemark != null">quot_jsqr_qt_leader_remark = #{quotJsqrQtLeaderRemark},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
</trim>
where quot_jsqr_id = #{quotJsqrId}
</update>
<delete id="deleteQuotJsqrByQuotJsqrId" parameterType="String">
delete from quot_jsqr where quot_jsqr_id = #{quotJsqrId}
</delete>
<delete id="deleteQuotJsqrByQuotJsqrIds" parameterType="String">
delete from quot_jsqr where quot_jsqr_id in
<foreach item="quotJsqrId" collection="array" open="(" separator="," close=")">
#{quotJsqrId}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询报价单-技术确认单列表
export function listJsqr(query) {
return request({
url: '/jsqr/jsqr/list',
method: 'get',
params: query
})
}
// 查询报价单-技术确认单详细
export function getJsqr(quotJsqrId) {
return request({
url: '/jsqr/jsqr/' + quotJsqrId,
method: 'get'
})
}
// 新增报价单-技术确认单
export function addJsqr(data) {
return request({
url: '/jsqr/jsqr',
method: 'post',
data: data
})
}
// 修改报价单-技术确认单
export function updateJsqr(data) {
return request({
url: '/jsqr/jsqr',
method: 'put',
data: data
})
}
// 删除报价单-技术确认单
export function delJsqr(quotJsqrId) {
return request({
url: '/jsqr/jsqr/' + quotJsqrId,
method: 'delete'
})
}

View File

@ -164,7 +164,7 @@
<el-row :gutter="8"> <el-row :gutter="8">
<el-col :span="16"> <el-col :span="16">
<el-form-item label="地址" prop="quotAddress"> <el-form-item label="地址" prop="quotAddress">
<el-input v-model="form.quotAddress" placeholder="请输入地址" :disabled="this.form.quotApprovalStatus != '0' && this.form.quotApprovalStatus != null"/> <el-input type="textarea" autosize v-model="form.quotAddress" placeholder="请输入地址" :disabled="this.form.quotApprovalStatus != '0' && this.form.quotApprovalStatus != null"/>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
@ -521,7 +521,7 @@
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<span v-hasPermi="['quot:quot:save']"><el-button @click="saveForm" v-if="this.form.quotApprovalStatus == '0' || this.form.quotApprovalStatus == null"> </el-button></span> <span v-hasPermi="['quot:quot:save']"><el-button @click="saveForm" v-if="this.form.quotApprovalStatus == '0' || this.form.quotApprovalStatus == null"> </el-button></span>
<span style="margin-left: 10px" v-hasPermi="['quot:quot:commit']"><el-button type="primary" plain @click="commitForm" v-if="this.form.quotApprovalStatus == '0' || this.form.quotApprovalStatus == null"> </el-button></span> <span style="margin-left: 10px" v-hasPermi="['quot:quot:commit']"><el-button type="primary" plain @click="commitForm" v-if="this.form.quotApprovalStatus == '0' || this.form.quotApprovalStatus == null"> </el-button></span>
<span v-hasPermi="['quot:quot:assist']"><el-button type="warning" plain @click="commitJsForm" v-if="this.form.quotApprovalStatus == '1'">提交技术协助</el-button></span> <span v-hasPermi="['quot:quot:assist']"><el-button type="warning" plain @click="commitJsForm" v-if="this.form.quotJsxzApprovalStatus == '0'">提交技术协助</el-button></span>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>
@ -721,7 +721,7 @@ export default {
this.$refs["form"].validate(valid => { this.$refs["form"].validate(valid => {
if (valid) { if (valid) {
//- //-
let quotJsxzGroups = null; let quotJsxzGroups = '';
if(this.form.quotJsxzGroup){ if(this.form.quotJsxzGroup){
this.form.quotJsxzGroup.forEach(function (item,index) { this.form.quotJsxzGroup.forEach(function (item,index) {
if(index !== 0){ if(index !== 0){
@ -753,7 +753,7 @@ export default {
this.$refs["form"].validate(valid => { this.$refs["form"].validate(valid => {
if (valid) { if (valid) {
//- //-
let quotJsxzGroups = null; let quotJsxzGroups = '';
if(this.form.quotJsxzGroup){ if(this.form.quotJsxzGroup){
this.form.quotJsxzGroup.forEach(function (item,index) { this.form.quotJsxzGroup.forEach(function (item,index) {
if(index !== 0){ if(index !== 0){
@ -777,9 +777,8 @@ export default {
checkPermi, checkPermi,
/** 报价组提交技术协助按钮 */ /** 报价组提交技术协助按钮 */
commitJsForm() { commitJsForm() {
//- //-
let quotJsxzGroups = null; let quotJsxzGroups = '';
if(this.form.quotJsxzGroup){ if(this.form.quotJsxzGroup){
this.form.quotJsxzGroup.forEach(function (item,index) { this.form.quotJsxzGroup.forEach(function (item,index) {
if(index !== 0){ if(index !== 0){
@ -791,7 +790,7 @@ export default {
this.form.quotJsxzGroup = quotJsxzGroups; this.form.quotJsxzGroup = quotJsxzGroups;
this.form.quotMaterialList = this.quotMaterialList; this.form.quotMaterialList = this.quotMaterialList;
commitJsQuot(this.form).then(response => { commitJsQuot(this.form).then(response => {
this.$modal.msgSuccess("提交成功"); this.$modal.msgSuccess("提交技术协助成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}); });

View File

@ -0,0 +1,436 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="120px">
<el-form-item label="技术确认单编号" prop="quotJsqrCode">
<el-input
v-model="queryParams.quotJsqrCode"
placeholder="请输入技术确认单编号"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
<el-table v-loading="loading" :data="jsqrList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="ID" align="center" prop="quotJsqrId" v-if="false"/>
<el-table-column label="技术确认单编号" align="center" prop="quotJsqrCode">
<template slot-scope="scope">
<el-link :underline="false" type="primary" @click="handleUpdate(scope.row)">{{scope.row.quotJsqrCode}}</el-link>
</template>
</el-table-column>
<el-table-column label="特缆协助状态" align="center" prop="quotJsqrTlApprovalStatus">
<template slot-scope="scope">
<dict-tag :options="dict.type.quot_jsxz_approval_status" :value="scope.row.quotJsqrTlApprovalStatus"/>
</template>
</el-table-column>
<el-table-column label="低压协助状态" align="center" prop="quotJsqrDyApprovalStatus">
<template slot-scope="scope">
<dict-tag :options="dict.type.quot_jsxz_approval_status" :value="scope.row.quotJsqrDyApprovalStatus"/>
</template>
</el-table-column>
<el-table-column label="中压协助状态" align="center" prop="quotJsqrZyApprovalStatus">
<template slot-scope="scope">
<dict-tag :options="dict.type.quot_jsxz_approval_status" :value="scope.row.quotJsqrZyApprovalStatus"/>
</template>
</el-table-column>
<el-table-column label="其他协助状态" align="center" prop="quotJsqrQtApprovalStatus">
<template slot-scope="scope">
<dict-tag :options="dict.type.quot_jsxz_approval_status" :value="scope.row.quotJsqrQtApprovalStatus"/>
</template>
</el-table-column>
</el-table>
<pagination
v-show="total>0"
:total="total"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<!-- 添加或修改报价单-技术确认单对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-row :gutter="8">
<el-col :span="8">
<el-form-item label="技术确认单编号" prop="quotJsqrCode">
<el-input v-model="form.quotJsqrCode" placeholder="请输入技术确认单编号" :disabled="true"/>
</el-form-item>
</el-col>
<el-col :span="8">
</el-col>
<el-col :span="8">
</el-col>
</el-row>
<el-row :gutter="8">
<el-col :span="12">
<el-form-item label="特缆协助状态" prop="quotJsqrTlApprovalStatus">
<el-select v-model="form.quotJsqrTlApprovalStatus" placeholder="请选择特缆协助状态">
<el-option
v-for="dict in dict.type.quot_jsxz_approval_status"
:key="dict.value"
:label="dict.label"
:value="dict.value"
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="特缆操作人" prop="quotJsqrTlOperateUserName">
<el-input v-model="form.quotJsqrTlOperateUserName" placeholder="请输入特缆操作人" />
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="8">
<el-col :span="24">
<el-form-item label="特缆协助说明" prop="quotJsqrTlRemark">
<el-input type="textarea" autosize v-model="form.quotJsqrTlRemark" placeholder="请输入特缆协助说明" />
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="8">
<el-col :span="12">
<el-form-item label="特缆审核人" prop="quotJsqrTlCheckUserName">
<el-input v-model="form.quotJsqrTlCheckUserName" placeholder="请输入特缆审核人" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="特缆审核状态" prop="quotJsqrTlCheckState">
<el-input v-model="form.quotJsqrTlCheckState" placeholder="请输入特缆审核状态" />
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="8">
<el-col :span="24">
<el-form-item label="特缆审核意见" prop="quotJsqrTlCheckRemark">
<el-input type="textarea" autosize v-model="form.quotJsqrTlCheckRemark" placeholder="请输入特缆审核意见" />
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="8">
<el-col :span="12">
<el-form-item label="特缆组长" prop="quotJsqrTlLeaderUserName">
<el-input v-model="form.quotJsqrTlLeaderUserName" placeholder="请输入特缆组长" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="特缆组长状态" prop="quotJsqrTlLeaderState">
<el-input v-model="form.quotJsqrTlLeaderState" placeholder="请输入特缆组长状态" />
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="8">
<el-col :span="24">
<el-form-item label="特缆组长确认意见" prop="quotJsqrTlLeaderRemark">
<el-input type="textarea" autosize v-model="form.quotJsqrTlLeaderRemark" placeholder="请输入特缆组长确认意见" />
</el-form-item>
</el-col>
</el-row>
<el-form-item label="低压协助状态" prop="quotJsqrDyApprovalStatus">
<el-select v-model="form.quotJsqrDyApprovalStatus" placeholder="请选择低压协助状态">
<el-option
v-for="dict in dict.type.quot_jsxz_approval_status"
:key="dict.value"
:label="dict.label"
:value="dict.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="低压操作人" prop="quotJsqrDyOperateUserName">
<el-input v-model="form.quotJsqrDyOperateUserName" placeholder="请输入低压操作人" />
</el-form-item>
<el-form-item label="低压协助说明" prop="quotJsqrDyRemark">
<el-input v-model="form.quotJsqrDyRemark" placeholder="请输入低压协助说明" />
</el-form-item>
<el-form-item label="低压审核人" prop="quotJsqrDyCheckUserName">
<el-input v-model="form.quotJsqrDyCheckUserName" placeholder="请输入低压审核人" />
</el-form-item>
<el-form-item label="低压审核状态" prop="quotJsqrDyCheckState">
<el-input v-model="form.quotJsqrDyCheckState" placeholder="请输入低压审核状态" />
</el-form-item>
<el-form-item label="低压审核意见" prop="quotJsqrDyCheckRemark">
<el-input v-model="form.quotJsqrDyCheckRemark" placeholder="请输入低压审核意见" />
</el-form-item>
<el-form-item label="低压组长" prop="quotJsqrDyLeaderUserName">
<el-input v-model="form.quotJsqrDyLeaderUserName" placeholder="请输入低压组长" />
</el-form-item>
<el-form-item label="低压组长状态" prop="quotJsqrDyLeaderState">
<el-input v-model="form.quotJsqrDyLeaderState" placeholder="请输入低压组长状态" />
</el-form-item>
<el-form-item label="低压组长确认意见" prop="quotJsqrDyLeaderRemark">
<el-input v-model="form.quotJsqrDyLeaderRemark" placeholder="请输入低压组长确认意见" />
</el-form-item>
<el-form-item label="中压协助状态" prop="quotJsqrZyApprovalStatus">
<el-select v-model="form.quotJsqrZyApprovalStatus" placeholder="请选择中压协助状态">
<el-option
v-for="dict in dict.type.quot_jsxz_approval_status"
:key="dict.value"
:label="dict.label"
:value="dict.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="中压操作人" prop="quotJsqrZyOperateUserName">
<el-input v-model="form.quotJsqrZyOperateUserName" placeholder="请输入中压操作人" />
</el-form-item>
<el-form-item label="中压协助说明" prop="quotJsqrZyRemark">
<el-input v-model="form.quotJsqrZyRemark" placeholder="请输入中压协助说明" />
</el-form-item>
<el-form-item label="中压审核人" prop="quotJsqrZyCheckUserName">
<el-input v-model="form.quotJsqrZyCheckUserName" placeholder="请输入中压审核人" />
</el-form-item>
<el-form-item label="中压审核状态" prop="quotJsqrZyCheckState">
<el-input v-model="form.quotJsqrZyCheckState" placeholder="请输入中压审核状态" />
</el-form-item>
<el-form-item label="中压审核意见" prop="quotJsqrZyCheckRemark">
<el-input v-model="form.quotJsqrZyCheckRemark" placeholder="请输入中压审核意见" />
</el-form-item>
<el-form-item label="中压组长" prop="quotJsqrZyLeaderUserName">
<el-input v-model="form.quotJsqrZyLeaderUserName" placeholder="请输入中压组长" />
</el-form-item>
<el-form-item label="中压组长状态" prop="quotJsqrZyLeaderState">
<el-input v-model="form.quotJsqrZyLeaderState" placeholder="请输入中压组长状态" />
</el-form-item>
<el-form-item label="中压组长确认意见" prop="quotJsqrZyLeaderRemark">
<el-input v-model="form.quotJsqrZyLeaderRemark" placeholder="请输入中压组长确认意见" />
</el-form-item>
<el-form-item label="其他协助状态" prop="quotJsqrQtApprovalStatus">
<el-select v-model="form.quotJsqrQtApprovalStatus" placeholder="请选择其他协助状态">
<el-option
v-for="dict in dict.type.quot_jsxz_approval_status"
:key="dict.value"
:label="dict.label"
:value="dict.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="其他操作人" prop="quotJsqrQtOperateUserName">
<el-input v-model="form.quotJsqrQtOperateUserName" placeholder="请输入其他操作人" />
</el-form-item>
<el-form-item label="其他协助说明" prop="quotJsqrQtRemark">
<el-input v-model="form.quotJsqrQtRemark" placeholder="请输入其他协助说明" />
</el-form-item>
<el-form-item label="其他审核人" prop="quotJsqrQtCheckUserName">
<el-input v-model="form.quotJsqrQtCheckUserName" placeholder="请输入其他审核人" />
</el-form-item>
<el-form-item label="其他审核状态" prop="quotJsqrQtCheckState">
<el-input v-model="form.quotJsqrQtCheckState" placeholder="请输入其他审核状态" />
</el-form-item>
<el-form-item label="其他审核意见" prop="quotJsqrQtCheckRemark">
<el-input v-model="form.quotJsqrQtCheckRemark" placeholder="请输入其他审核意见" />
</el-form-item>
<el-form-item label="其他组长" prop="quotJsqrQtLeaderUserName">
<el-input v-model="form.quotJsqrQtLeaderUserName" placeholder="请输入其他组长" />
</el-form-item>
<el-form-item label="其他组长状态" prop="quotJsqrQtLeaderState">
<el-input v-model="form.quotJsqrQtLeaderState" placeholder="请输入其他组长状态" />
</el-form-item>
<el-form-item label="其他组长确认意见" prop="quotJsqrQtLeaderRemark">
<el-input v-model="form.quotJsqrQtLeaderRemark" placeholder="请输入其他组长确认意见" />
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>
<el-button @click="cancel"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { listJsqr, getJsqr, delJsqr, addJsqr, updateJsqr } from "@/api/technicalConfirm/technicalConfirm";
export default {
name: "Jsqr",
dicts: ['quot_jsxz_approval_status'],
data() {
return {
//
loading: true,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
total: 0,
// -
jsqrList: [],
//
title: "",
//
open: false,
//
queryParams: {
pageNum: 1,
pageSize: 10,
quotJsqrCode: null
},
//
form: {},
//
rules: {
}
};
},
created() {
this.getList();
},
methods: {
/** 查询报价单-技术确认单列表 */
getList() {
this.loading = true;
listJsqr(this.queryParams).then(response => {
this.jsqrList = response.rows;
this.total = response.total;
this.loading = false;
});
},
//
cancel() {
this.open = false;
this.reset();
},
//
reset() {
this.form = {
quotJsqrId: null,
quotJsqrCode: null,
quotJsqrTlApprovalStatus: null,
quotJsqrTlOperateUserName: null,
quotJsqrTlOperateStatus: null,
quotJsqrTlOperateTime: null,
quotJsqrTlRemark: null,
quotJsqrTlCheckUserName: null,
quotJsqrTlCheckState: null,
quotJsqrTlCheckTime: null,
quotJsqrTlCheckRemark: null,
quotJsqrTlLeaderUserName: null,
quotJsqrTlLeaderState: null,
quotJsqrTlLeaderTime: null,
quotJsqrTlLeaderRemark: null,
quotJsqrDyApprovalStatus: null,
quotJsqrDyOperateUserName: null,
quotJsqrDyOperateStatus: null,
quotJsqrDyOperateTime: null,
quotJsqrDyRemark: null,
quotJsqrDyCheckUserName: null,
quotJsqrDyCheckState: null,
quotJsqrDyCheckTime: null,
quotJsqrDyCheckRemark: null,
quotJsqrDyLeaderUserName: null,
quotJsqrDyLeaderState: null,
quotJsqrDyLeaderTime: null,
quotJsqrDyLeaderRemark: null,
quotJsqrZyApprovalStatus: null,
quotJsqrZyOperateUserName: null,
quotJsqrZyOperateStatus: null,
quotJsqrZyOperateTime: null,
quotJsqrZyRemark: null,
quotJsqrZyCheckUserName: null,
quotJsqrZyCheckState: null,
quotJsqrZyCheckTime: null,
quotJsqrZyCheckRemark: null,
quotJsqrZyLeaderUserName: null,
quotJsqrZyLeaderState: null,
quotJsqrZyLeaderTime: null,
quotJsqrZyLeaderRemark: null,
quotJsqrQtApprovalStatus: null,
quotJsqrQtOperateUserName: null,
quotJsqrQtOperateStatus: null,
quotJsqrQtOperateTime: null,
quotJsqrQtRemark: null,
quotJsqrQtCheckUserName: null,
quotJsqrQtCheckState: null,
quotJsqrQtCheckTime: null,
quotJsqrQtCheckRemark: null,
quotJsqrQtLeaderUserName: null,
quotJsqrQtLeaderState: null,
quotJsqrQtLeaderTime: null,
quotJsqrQtLeaderRemark: null,
createBy: null,
createTime: null,
updateBy: null,
updateTime: null
};
this.resetForm("form");
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.handleQuery();
},
//
handleSelectionChange(selection) {
this.ids = selection.map(item => item.quotJsqrId)
this.single = selection.length!==1
this.multiple = !selection.length
},
/** 修改按钮操作 */
handleUpdate(row) {
this.reset();
const quotJsqrId = row.quotJsqrId || this.ids
getJsqr(quotJsqrId).then(response => {
this.form = response.data;
this.open = true;
this.title = "报价单-技术确认单";
});
},
/** 提交按钮 */
submitForm() {
this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.quotJsqrId != null) {
updateJsqr(this.form).then(response => {
this.$modal.msgSuccess("修改成功");
this.open = false;
this.getList();
});
} else {
addJsqr(this.form).then(response => {
this.$modal.msgSuccess("新增成功");
this.open = false;
this.getList();
});
}
}
});
},
/** 删除按钮操作 */
handleDelete(row) {
const quotJsqrIds = row.quotJsqrId || this.ids;
this.$modal.confirm('是否确认删除报价单-技术确认单编号为"' + quotJsqrIds + '"的数据项?').then(function() {
return delJsqr(quotJsqrIds);
}).then(() => {
this.getList();
this.$modal.msgSuccess("删除成功");
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
this.download('jsqr/jsqr/export', {
...this.queryParams
}, `jsqr_${new Date().getTime()}.xlsx`)
}
}
};
</script>