18 changed files with 682 additions and 29 deletions
@ -0,0 +1,107 @@ |
|||
package com.zdxt.app.controller; |
|||
|
|||
import java.util.List; |
|||
|
|||
import com.zdxt.code.domain.EnterpriseComplaintSatisfy; |
|||
import com.zdxt.code.service.IEnterpriseComplaintSatisfyService; |
|||
import com.zdxt.common.ZDResponse; |
|||
import com.zdxt.common.controller.BaseController; |
|||
import com.zdxt.common.util.TableDataInfo; |
|||
import org.apache.shiro.authz.annotation.RequiresPermissions; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.stereotype.Controller; |
|||
import org.springframework.ui.ModelMap; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.PathVariable; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.ResponseBody; |
|||
|
|||
/** |
|||
* 工单评价Controller |
|||
* |
|||
* @author ruoyi |
|||
* @date 2024-08-12 |
|||
*/ |
|||
@Controller |
|||
@RequestMapping("/system/satisfy") |
|||
public class AppEnterpriseComplaintSatisfyController extends BaseController |
|||
{ |
|||
private String prefix = "system/satisfy"; |
|||
|
|||
@Autowired |
|||
private IEnterpriseComplaintSatisfyService enterpriseComplaintSatisfyService; |
|||
|
|||
@RequiresPermissions("system:satisfy:view") |
|||
@GetMapping() |
|||
public String satisfy() |
|||
{ |
|||
return prefix + "/satisfy"; |
|||
} |
|||
|
|||
/** |
|||
* 查询工单评价列表 |
|||
*/ |
|||
@RequiresPermissions("system:satisfy:list") |
|||
@PostMapping("/list") |
|||
@ResponseBody |
|||
public TableDataInfo list(EnterpriseComplaintSatisfy enterpriseComplaintSatisfy) |
|||
{ |
|||
startPage(); |
|||
List<EnterpriseComplaintSatisfy> list = enterpriseComplaintSatisfyService.selectEnterpriseComplaintSatisfyList(enterpriseComplaintSatisfy); |
|||
return getDataTable(list); |
|||
} |
|||
|
|||
/** |
|||
* 新增工单评价 |
|||
*/ |
|||
@GetMapping("/add") |
|||
public String add() |
|||
{ |
|||
return prefix + "/add"; |
|||
} |
|||
|
|||
/** |
|||
* 新增保存工单评价 |
|||
*/ |
|||
@RequiresPermissions("system:satisfy:add") |
|||
@PostMapping("/add") |
|||
@ResponseBody |
|||
public ZDResponse addSave(EnterpriseComplaintSatisfy enterpriseComplaintSatisfy) |
|||
{ |
|||
return ZDResponse.success("success", enterpriseComplaintSatisfyService.insertEnterpriseComplaintSatisfy(enterpriseComplaintSatisfy)); |
|||
} |
|||
|
|||
/** |
|||
* 修改工单评价 |
|||
*/ |
|||
@GetMapping("/edit/{proWoId}") |
|||
public String edit(@PathVariable("proWoId") String proWoId, ModelMap mmap) |
|||
{ |
|||
EnterpriseComplaintSatisfy enterpriseComplaintSatisfy = enterpriseComplaintSatisfyService.selectEnterpriseComplaintSatisfyById(proWoId); |
|||
mmap.put("enterpriseComplaintSatisfy", enterpriseComplaintSatisfy); |
|||
return prefix + "/edit"; |
|||
} |
|||
|
|||
/** |
|||
* 修改保存工单评价 |
|||
*/ |
|||
@RequiresPermissions("system:satisfy:edit") |
|||
@PostMapping("/edit") |
|||
@ResponseBody |
|||
public ZDResponse editSave(EnterpriseComplaintSatisfy enterpriseComplaintSatisfy) |
|||
{ |
|||
return ZDResponse.success("success", enterpriseComplaintSatisfyService.updateEnterpriseComplaintSatisfy(enterpriseComplaintSatisfy)); |
|||
} |
|||
|
|||
/** |
|||
* 删除工单评价 |
|||
*/ |
|||
@RequiresPermissions("system:satisfy:remove") |
|||
@PostMapping( "/remove") |
|||
@ResponseBody |
|||
public ZDResponse remove(String ids) |
|||
{ |
|||
return ZDResponse.success("success", enterpriseComplaintSatisfyService.deleteEnterpriseComplaintSatisfyByIds(ids)); |
|||
} |
|||
} |
|||
@ -0,0 +1,159 @@ |
|||
package com.zdxt.code.domain; |
|||
|
|||
import com.zdxt.common.BaseDomain; |
|||
|
|||
/** |
|||
* 工单评价对象 enterprise_complaint_satisfy |
|||
* |
|||
* @author ruoyi |
|||
* @date 2024-08-12 |
|||
*/ |
|||
public class EnterpriseComplaintSatisfy extends BaseDomain |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 工单id */ |
|||
private String proWoId; |
|||
|
|||
/** 工单编号 */ |
|||
private String prWoCode; |
|||
|
|||
/** 满意度评价 (1:非常不满意;2:不满意;3:基本满意;4:满意;5:非常满意;6:未评价;7:无效评价;) */ |
|||
private Integer approveCode; |
|||
|
|||
/** 评价时间 */ |
|||
private String approveTime; |
|||
|
|||
/** 不满意原因 (1:对承办单位工作人员的态度和效率不满意;2:对承办单位未回复不满意;3:对回复结果不满意;4:对问题仍然未解决/未改善不满意;5:对建议未被采纳不满意;9:未评价;10:无效评价;11 :承办单位回复情况与实际情况不一致;12:回复结果解答/指引不清晰;13:按回复指引操作但问题仍未解决;14:建议采纳但暂未实施;) */ |
|||
private Integer disApproveReason; |
|||
|
|||
/** 处置速度 (1:非常不满意;2:不满意;3:基本满意;4:满意;5:非常满意;6:未评价;7:无效评价;) */ |
|||
private Integer dealSpeedMetrics; |
|||
|
|||
/** 处置效果 (1:非常不满意;2:不满意;3:基本满意;4:满意;5:非常满意;6:未评价;7:无效评价;) */ |
|||
private Integer dealEffectMetrics; |
|||
|
|||
/** 服务体验 (1:非常不满意;2:不满意;3:基本满意;4:满意;5:非常满意;6:未评价;7:无效评价;) */ |
|||
private Integer serviceMetrics; |
|||
|
|||
/** 反馈质量 (1:非常不满意;2:不满意;3:基本满意;4:满意;5:非常满意;6:未评价;7:无效评价;) */ |
|||
private Integer feedbackQualityMetrics; |
|||
|
|||
/** 文字评价内容 */ |
|||
private String writingEvaluation; |
|||
|
|||
/** 机构code */ |
|||
private String orgCode; |
|||
|
|||
/** 评价次数 */ |
|||
private Integer assessNumber; |
|||
|
|||
public void setProWoId(String proWoId) |
|||
{ |
|||
this.proWoId = proWoId; |
|||
} |
|||
|
|||
public String getProWoId() |
|||
{ |
|||
return proWoId; |
|||
} |
|||
public void setPrWoCode(String prWoCode) |
|||
{ |
|||
this.prWoCode = prWoCode; |
|||
} |
|||
|
|||
public String getPrWoCode() |
|||
{ |
|||
return prWoCode; |
|||
} |
|||
public void setApproveCode(Integer approveCode) |
|||
{ |
|||
this.approveCode = approveCode; |
|||
} |
|||
|
|||
public Integer getApproveCode() |
|||
{ |
|||
return approveCode; |
|||
} |
|||
public void setApproveTime(String approveTime) |
|||
{ |
|||
this.approveTime = approveTime; |
|||
} |
|||
|
|||
public String getApproveTime() |
|||
{ |
|||
return approveTime; |
|||
} |
|||
public void setDisApproveReason(Integer disApproveReason) |
|||
{ |
|||
this.disApproveReason = disApproveReason; |
|||
} |
|||
|
|||
public Integer getDisApproveReason() |
|||
{ |
|||
return disApproveReason; |
|||
} |
|||
public void setDealSpeedMetrics(Integer dealSpeedMetrics) |
|||
{ |
|||
this.dealSpeedMetrics = dealSpeedMetrics; |
|||
} |
|||
|
|||
public Integer getDealSpeedMetrics() |
|||
{ |
|||
return dealSpeedMetrics; |
|||
} |
|||
public void setDealEffectMetrics(Integer dealEffectMetrics) |
|||
{ |
|||
this.dealEffectMetrics = dealEffectMetrics; |
|||
} |
|||
|
|||
public Integer getDealEffectMetrics() |
|||
{ |
|||
return dealEffectMetrics; |
|||
} |
|||
public void setServiceMetrics(Integer serviceMetrics) |
|||
{ |
|||
this.serviceMetrics = serviceMetrics; |
|||
} |
|||
|
|||
public Integer getServiceMetrics() |
|||
{ |
|||
return serviceMetrics; |
|||
} |
|||
public void setFeedbackQualityMetrics(Integer feedbackQualityMetrics) |
|||
{ |
|||
this.feedbackQualityMetrics = feedbackQualityMetrics; |
|||
} |
|||
|
|||
public Integer getFeedbackQualityMetrics() |
|||
{ |
|||
return feedbackQualityMetrics; |
|||
} |
|||
public void setWritingEvaluation(String writingEvaluation) |
|||
{ |
|||
this.writingEvaluation = writingEvaluation; |
|||
} |
|||
|
|||
public String getWritingEvaluation() |
|||
{ |
|||
return writingEvaluation; |
|||
} |
|||
public void setOrgCode(String orgCode) |
|||
{ |
|||
this.orgCode = orgCode; |
|||
} |
|||
|
|||
public String getOrgCode() |
|||
{ |
|||
return orgCode; |
|||
} |
|||
public void setAssessNumber(Integer assessNumber) |
|||
{ |
|||
this.assessNumber = assessNumber; |
|||
} |
|||
|
|||
public Integer getAssessNumber() |
|||
{ |
|||
return assessNumber; |
|||
} |
|||
} |
|||
@ -0,0 +1,62 @@ |
|||
package com.zdxt.code.mapper; |
|||
|
|||
import com.zdxt.code.domain.EnterpriseComplaintSatisfy; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 工单评价Mapper接口 |
|||
* |
|||
* @author ruoyi |
|||
* @date 2024-08-12 |
|||
*/ |
|||
public interface EnterpriseComplaintSatisfyMapper |
|||
{ |
|||
/** |
|||
* 查询工单评价 |
|||
* |
|||
* @param proWoId 工单评价ID |
|||
* @return 工单评价 |
|||
*/ |
|||
public EnterpriseComplaintSatisfy selectEnterpriseComplaintSatisfyById(String proWoId); |
|||
|
|||
/** |
|||
* 查询工单评价列表 |
|||
* |
|||
* @param enterpriseComplaintSatisfy 工单评价 |
|||
* @return 工单评价集合 |
|||
*/ |
|||
public List<EnterpriseComplaintSatisfy> selectEnterpriseComplaintSatisfyList(EnterpriseComplaintSatisfy enterpriseComplaintSatisfy); |
|||
|
|||
/** |
|||
* 新增工单评价 |
|||
* |
|||
* @param enterpriseComplaintSatisfy 工单评价 |
|||
* @return 结果 |
|||
*/ |
|||
public int insertEnterpriseComplaintSatisfy(EnterpriseComplaintSatisfy enterpriseComplaintSatisfy); |
|||
|
|||
/** |
|||
* 修改工单评价 |
|||
* |
|||
* @param enterpriseComplaintSatisfy 工单评价 |
|||
* @return 结果 |
|||
*/ |
|||
public int updateEnterpriseComplaintSatisfy(EnterpriseComplaintSatisfy enterpriseComplaintSatisfy); |
|||
|
|||
/** |
|||
* 删除工单评价 |
|||
* |
|||
* @param proWoId 工单评价ID |
|||
* @return 结果 |
|||
*/ |
|||
public int deleteEnterpriseComplaintSatisfyById(String proWoId); |
|||
|
|||
/** |
|||
* 批量删除工单评价 |
|||
* |
|||
* @param proWoIds 需要删除的数据ID |
|||
* @return 结果 |
|||
*/ |
|||
public int deleteEnterpriseComplaintSatisfyByIds(String[] proWoIds); |
|||
} |
|||
@ -0,0 +1,62 @@ |
|||
package com.zdxt.code.service; |
|||
|
|||
import com.zdxt.code.domain.EnterpriseComplaintSatisfy; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 工单评价Service接口 |
|||
* |
|||
* @author ruoyi |
|||
* @date 2024-08-12 |
|||
*/ |
|||
public interface IEnterpriseComplaintSatisfyService |
|||
{ |
|||
/** |
|||
* 查询工单评价 |
|||
* |
|||
* @param proWoId 工单评价ID |
|||
* @return 工单评价 |
|||
*/ |
|||
public EnterpriseComplaintSatisfy selectEnterpriseComplaintSatisfyById(String proWoId); |
|||
|
|||
/** |
|||
* 查询工单评价列表 |
|||
* |
|||
* @param enterpriseComplaintSatisfy 工单评价 |
|||
* @return 工单评价集合 |
|||
*/ |
|||
public List<EnterpriseComplaintSatisfy> selectEnterpriseComplaintSatisfyList(EnterpriseComplaintSatisfy enterpriseComplaintSatisfy); |
|||
|
|||
/** |
|||
* 新增工单评价 |
|||
* |
|||
* @param enterpriseComplaintSatisfy 工单评价 |
|||
* @return 结果 |
|||
*/ |
|||
public int insertEnterpriseComplaintSatisfy(EnterpriseComplaintSatisfy enterpriseComplaintSatisfy); |
|||
|
|||
/** |
|||
* 修改工单评价 |
|||
* |
|||
* @param enterpriseComplaintSatisfy 工单评价 |
|||
* @return 结果 |
|||
*/ |
|||
public int updateEnterpriseComplaintSatisfy(EnterpriseComplaintSatisfy enterpriseComplaintSatisfy); |
|||
|
|||
/** |
|||
* 批量删除工单评价 |
|||
* |
|||
* @param ids 需要删除的数据ID |
|||
* @return 结果 |
|||
*/ |
|||
public int deleteEnterpriseComplaintSatisfyByIds(String ids); |
|||
|
|||
/** |
|||
* 删除工单评价信息 |
|||
* |
|||
* @param proWoId 工单评价ID |
|||
* @return 结果 |
|||
*/ |
|||
public int deleteEnterpriseComplaintSatisfyById(String proWoId); |
|||
} |
|||
@ -0,0 +1,95 @@ |
|||
package com.zdxt.code.service.impl; |
|||
|
|||
import java.util.List; |
|||
|
|||
import com.zdxt.code.domain.EnterpriseComplaintSatisfy; |
|||
import com.zdxt.code.mapper.EnterpriseComplaintSatisfyMapper; |
|||
import com.zdxt.code.service.IEnterpriseComplaintSatisfyService; |
|||
import com.zdxt.common.util.Convert; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* 工单评价Service业务层处理 |
|||
* |
|||
* @author ruoyi |
|||
* @date 2024-08-12 |
|||
*/ |
|||
@Service |
|||
public class EnterpriseComplaintSatisfyServiceImpl implements IEnterpriseComplaintSatisfyService |
|||
{ |
|||
@Autowired |
|||
private EnterpriseComplaintSatisfyMapper enterpriseComplaintSatisfyMapper; |
|||
|
|||
/** |
|||
* 查询工单评价 |
|||
* |
|||
* @param proWoId 工单评价ID |
|||
* @return 工单评价 |
|||
*/ |
|||
@Override |
|||
public EnterpriseComplaintSatisfy selectEnterpriseComplaintSatisfyById(String proWoId) |
|||
{ |
|||
return enterpriseComplaintSatisfyMapper.selectEnterpriseComplaintSatisfyById(proWoId); |
|||
} |
|||
|
|||
/** |
|||
* 查询工单评价列表 |
|||
* |
|||
* @param enterpriseComplaintSatisfy 工单评价 |
|||
* @return 工单评价 |
|||
*/ |
|||
@Override |
|||
public List<EnterpriseComplaintSatisfy> selectEnterpriseComplaintSatisfyList(EnterpriseComplaintSatisfy enterpriseComplaintSatisfy) |
|||
{ |
|||
return enterpriseComplaintSatisfyMapper.selectEnterpriseComplaintSatisfyList(enterpriseComplaintSatisfy); |
|||
} |
|||
|
|||
/** |
|||
* 新增工单评价 |
|||
* |
|||
* @param enterpriseComplaintSatisfy 工单评价 |
|||
* @return 结果 |
|||
*/ |
|||
@Override |
|||
public int insertEnterpriseComplaintSatisfy(EnterpriseComplaintSatisfy enterpriseComplaintSatisfy) |
|||
{ |
|||
return enterpriseComplaintSatisfyMapper.insertEnterpriseComplaintSatisfy(enterpriseComplaintSatisfy); |
|||
} |
|||
|
|||
/** |
|||
* 修改工单评价 |
|||
* |
|||
* @param enterpriseComplaintSatisfy 工单评价 |
|||
* @return 结果 |
|||
*/ |
|||
@Override |
|||
public int updateEnterpriseComplaintSatisfy(EnterpriseComplaintSatisfy enterpriseComplaintSatisfy) |
|||
{ |
|||
return enterpriseComplaintSatisfyMapper.updateEnterpriseComplaintSatisfy(enterpriseComplaintSatisfy); |
|||
} |
|||
|
|||
/** |
|||
* 删除工单评价对象 |
|||
* |
|||
* @param ids 需要删除的数据ID |
|||
* @return 结果 |
|||
*/ |
|||
@Override |
|||
public int deleteEnterpriseComplaintSatisfyByIds(String ids) |
|||
{ |
|||
return enterpriseComplaintSatisfyMapper.deleteEnterpriseComplaintSatisfyByIds(Convert.toStrArray(ids)); |
|||
} |
|||
|
|||
/** |
|||
* 删除工单评价信息 |
|||
* |
|||
* @param proWoId 工单评价ID |
|||
* @return 结果 |
|||
*/ |
|||
@Override |
|||
public int deleteEnterpriseComplaintSatisfyById(String proWoId) |
|||
{ |
|||
return enterpriseComplaintSatisfyMapper.deleteEnterpriseComplaintSatisfyById(proWoId); |
|||
} |
|||
} |
|||
@ -0,0 +1,127 @@ |
|||
<?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.zdxt.code.mapper.EnterpriseComplaintSatisfyMapper"> |
|||
|
|||
<resultMap type="com.zdxt.code.domain.EnterpriseComplaintSatisfy" id="EnterpriseComplaintSatisfyResult"> |
|||
<result property="proWoId" column="pro_wo_id" /> |
|||
<result property="prWoCode" column="pr_wo_code" /> |
|||
<result property="approveCode" column="approve_code" /> |
|||
<result property="approveTime" column="approve_time" /> |
|||
<result property="disApproveReason" column="dis_approve_reason" /> |
|||
<result property="dealSpeedMetrics" column="deal_speed_metrics" /> |
|||
<result property="dealEffectMetrics" column="deal_effect_metrics" /> |
|||
<result property="serviceMetrics" column="service_metrics" /> |
|||
<result property="feedbackQualityMetrics" column="feedback_quality_metrics" /> |
|||
<result property="writingEvaluation" column="writing_evaluation" /> |
|||
<result property="orgCode" column="org_Code" /> |
|||
<result property="assessNumber" column="assess_Number" /> |
|||
<result property="creator" column="creator" /> |
|||
<result property="createTime" column="create_time" /> |
|||
<result property="updator" column="updator" /> |
|||
<result property="updateTime" column="update_time" /> |
|||
</resultMap> |
|||
|
|||
<sql id="selectEnterpriseComplaintSatisfyVo"> |
|||
select pro_wo_id, pr_wo_code, approve_code, approve_time, dis_approve_reason, deal_speed_metrics, deal_effect_metrics, service_metrics, feedback_quality_metrics, writing_evaluation, org_Code, assess_Number, creator, create_time, updator, update_time from enterprise_complaint_satisfy |
|||
</sql> |
|||
|
|||
<select id="selectEnterpriseComplaintSatisfyList" parameterType="EnterpriseComplaintSatisfy" resultMap="EnterpriseComplaintSatisfyResult"> |
|||
<include refid="selectEnterpriseComplaintSatisfyVo"/> |
|||
<where> |
|||
<if test="prWoCode != null and prWoCode != ''"> and pr_wo_code = #{prWoCode}</if> |
|||
<if test="approveCode != null "> and approve_code = #{approveCode}</if> |
|||
<if test="approveTime != null and approveTime != ''"> and approve_time = #{approveTime}</if> |
|||
<if test="disApproveReason != null "> and dis_approve_reason = #{disApproveReason}</if> |
|||
<if test="dealSpeedMetrics != null "> and deal_speed_metrics = #{dealSpeedMetrics}</if> |
|||
<if test="dealEffectMetrics != null "> and deal_effect_metrics = #{dealEffectMetrics}</if> |
|||
<if test="serviceMetrics != null "> and service_metrics = #{serviceMetrics}</if> |
|||
<if test="feedbackQualityMetrics != null "> and feedback_quality_metrics = #{feedbackQualityMetrics}</if> |
|||
<if test="writingEvaluation != null and writingEvaluation != ''"> and writing_evaluation = #{writingEvaluation}</if> |
|||
<if test="orgCode != null and orgCode != ''"> and org_Code = #{orgCode}</if> |
|||
<if test="assessNumber != null "> and assess_Number = #{assessNumber}</if> |
|||
<if test="creator != null and creator != ''"> and creator = #{creator}</if> |
|||
<if test="updator != null and updator != ''"> and updator = #{updator}</if> |
|||
</where> |
|||
</select> |
|||
|
|||
<select id="selectEnterpriseComplaintSatisfyById" parameterType="String" resultMap="EnterpriseComplaintSatisfyResult"> |
|||
<include refid="selectEnterpriseComplaintSatisfyVo"/> |
|||
where pro_wo_id = #{proWoId} |
|||
</select> |
|||
|
|||
<insert id="insertEnterpriseComplaintSatisfy" parameterType="EnterpriseComplaintSatisfy"> |
|||
insert into enterprise_complaint_satisfy |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="proWoId != null and proWoId != ''">pro_wo_id,</if> |
|||
<if test="prWoCode != null and prWoCode != ''">pr_wo_code,</if> |
|||
<if test="approveCode != null ">approve_code,</if> |
|||
<if test="approveTime != null and approveTime != ''">approve_time,</if> |
|||
<if test="disApproveReason != null ">dis_approve_reason,</if> |
|||
<if test="dealSpeedMetrics != null ">deal_speed_metrics,</if> |
|||
<if test="dealEffectMetrics != null ">deal_effect_metrics,</if> |
|||
<if test="serviceMetrics != null ">service_metrics,</if> |
|||
<if test="feedbackQualityMetrics != null ">feedback_quality_metrics,</if> |
|||
<if test="writingEvaluation != null and writingEvaluation != ''">writing_evaluation,</if> |
|||
<if test="orgCode != null and orgCode != ''">org_Code,</if> |
|||
<if test="assessNumber != null ">assess_Number,</if> |
|||
<if test="creator != null and creator != ''">creator,</if> |
|||
<if test="createTime != null ">create_time,</if> |
|||
<if test="updator != null and updator != ''">updator,</if> |
|||
<if test="updateTime != null ">update_time,</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="proWoId != null and proWoId != ''">#{proWoId},</if> |
|||
<if test="prWoCode != null and prWoCode != ''">#{prWoCode},</if> |
|||
<if test="approveCode != null ">#{approveCode},</if> |
|||
<if test="approveTime != null and approveTime != ''">#{approveTime},</if> |
|||
<if test="disApproveReason != null ">#{disApproveReason},</if> |
|||
<if test="dealSpeedMetrics != null ">#{dealSpeedMetrics},</if> |
|||
<if test="dealEffectMetrics != null ">#{dealEffectMetrics},</if> |
|||
<if test="serviceMetrics != null ">#{serviceMetrics},</if> |
|||
<if test="feedbackQualityMetrics != null ">#{feedbackQualityMetrics},</if> |
|||
<if test="writingEvaluation != null and writingEvaluation != ''">#{writingEvaluation},</if> |
|||
<if test="orgCode != null and orgCode != ''">#{orgCode},</if> |
|||
<if test="assessNumber != null ">#{assessNumber},</if> |
|||
<if test="creator != null and creator != ''">#{creator},</if> |
|||
<if test="createTime != null ">#{createTime},</if> |
|||
<if test="updator != null and updator != ''">#{updator},</if> |
|||
<if test="updateTime != null ">#{updateTime},</if> |
|||
</trim> |
|||
</insert> |
|||
|
|||
<update id="updateEnterpriseComplaintSatisfy" parameterType="EnterpriseComplaintSatisfy"> |
|||
update enterprise_complaint_satisfy |
|||
<trim prefix="SET" suffixOverrides=","> |
|||
<if test="prWoCode != null and prWoCode != ''">pr_wo_code = #{prWoCode},</if> |
|||
<if test="approveCode != null ">approve_code = #{approveCode},</if> |
|||
<if test="approveTime != null and approveTime != ''">approve_time = #{approveTime},</if> |
|||
<if test="disApproveReason != null ">dis_approve_reason = #{disApproveReason},</if> |
|||
<if test="dealSpeedMetrics != null ">deal_speed_metrics = #{dealSpeedMetrics},</if> |
|||
<if test="dealEffectMetrics != null ">deal_effect_metrics = #{dealEffectMetrics},</if> |
|||
<if test="serviceMetrics != null ">service_metrics = #{serviceMetrics},</if> |
|||
<if test="feedbackQualityMetrics != null ">feedback_quality_metrics = #{feedbackQualityMetrics},</if> |
|||
<if test="writingEvaluation != null and writingEvaluation != ''">writing_evaluation = #{writingEvaluation},</if> |
|||
<if test="orgCode != null and orgCode != ''">org_Code = #{orgCode},</if> |
|||
<if test="assessNumber != null ">assess_Number = #{assessNumber},</if> |
|||
<if test="creator != null and creator != ''">creator = #{creator},</if> |
|||
<if test="createTime != null ">create_time = #{createTime},</if> |
|||
<if test="updator != null and updator != ''">updator = #{updator},</if> |
|||
<if test="updateTime != null ">update_time = #{updateTime},</if> |
|||
</trim> |
|||
where pro_wo_id = #{proWoId} |
|||
</update> |
|||
|
|||
<delete id="deleteEnterpriseComplaintSatisfyById" parameterType="String"> |
|||
delete from enterprise_complaint_satisfy where pro_wo_id = #{proWoId} |
|||
</delete> |
|||
|
|||
<delete id="deleteEnterpriseComplaintSatisfyByIds" parameterType="String"> |
|||
delete from enterprise_complaint_satisfy where pro_wo_id in |
|||
<foreach item="proWoId" collection="array" open="(" separator="," close=")"> |
|||
#{proWoId} |
|||
</foreach> |
|||
</delete> |
|||
|
|||
</mapper> |
|||
Loading…
Reference in new issue