Browse Source

企业端-评价

v4
zouyx 2 years ago
parent
commit
652b112a69
  1. 113
      lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/EnterpriseEvaluate.java
  2. 60
      lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/EnterpriseEvaluateMapper.xml

113
lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/EnterpriseEvaluate.java

@ -55,12 +55,12 @@ public class EnterpriseEvaluate extends BaseDomain
private Integer inspectionEfficiency;
/**
* 检查效果
* 检查效果(执法效率)
*/
private Integer checkEffect;
/**
* 服务体验
* 服务体验(文明执法)
*/
private Integer serviceExperience;
@ -73,6 +73,43 @@ public class EnterpriseEvaluate extends BaseDomain
* 存储上传文件
*/
private List<String> fileList;
/**
* 检查效果
*/
public Integer checkEffectiveness;
/**
* 程序合法
*/
public Integer proceduralLegality;
/**
* 满意程度:1不满意---3非常满意
*/
public Integer satisfactionLevel;
/**
* 其他问题开关:1开0关
*/
public Integer otherProblemSwitch;
/**
*1是0否存在逐利检查,接受被检查企业的馈赠、报酬、福利等;
*/
public Integer problem1;
/**
*是否存在要求被检查企业提供宴请、娱乐、旅游等活动;
*/
public Integer problem2;
/**
*是否存在干扰企业正常生产经营,刻意要求法定代表人到场行为;
*/
public Integer problem3;
/**
*是否存在任性处罚企业,乱查封、乱扣押、乱冻结、动辄责令停产停业的行为;
*/
public Integer problem4;
/**
*是否存在变相检查,以观摩、督导、考察等名义行检查之实。
*/
public Integer problem5;
public String getBatchId() {
@ -207,6 +244,78 @@ public class EnterpriseEvaluate extends BaseDomain
this.fileList = fileList;
}
public Integer getCheckEffectiveness() {
return checkEffectiveness;
}
public void setCheckEffectiveness(Integer checkEffectiveness) {
this.checkEffectiveness = checkEffectiveness;
}
public Integer getProceduralLegality() {
return proceduralLegality;
}
public void setProceduralLegality(Integer proceduralLegality) {
this.proceduralLegality = proceduralLegality;
}
public Integer getSatisfactionLevel() {
return satisfactionLevel;
}
public void setSatisfactionLevel(Integer satisfactionLevel) {
this.satisfactionLevel = satisfactionLevel;
}
public Integer getOtherProblemSwitch() {
return otherProblemSwitch;
}
public void setOtherProblemSwitch(Integer otherProblemSwitch) {
this.otherProblemSwitch = otherProblemSwitch;
}
public Integer getProblem1() {
return problem1;
}
public void setProblem1(Integer problem1) {
this.problem1 = problem1;
}
public Integer getProblem2() {
return problem2;
}
public void setProblem2(Integer problem2) {
this.problem2 = problem2;
}
public Integer getProblem3() {
return problem3;
}
public void setProblem3(Integer problem3) {
this.problem3 = problem3;
}
public Integer getProblem4() {
return problem4;
}
public void setProblem4(Integer problem4) {
this.problem4 = problem4;
}
public Integer getProblem5() {
return problem5;
}
public void setProblem5(Integer problem5) {
this.problem5 = problem5;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)

60
lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/EnterpriseEvaluateMapper.xml

@ -19,11 +19,22 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="checkEffect" column="check_effect" />
<result property="checkQuality" column="check_quality" />
<result property="serviceExperience" column="service_experience" />
<result property="checkEffectiveness" column="check_effectiveness" />
<result property="proceduralLegality" column="procedural_legality" />
<result property="batchId" column="batch_id" />
<result property="satisfactionLevel" column="satisfaction_level" />
<result property="otherProblemSwitch" column="other_problem_switch" />
<result property="problem1" column="problem1" />
<result property="problem2" column="problem2" />
<result property="problem3" column="problem3" />
<result property="problem4" column="problem4" />
<result property="problem5" column="problem5" />
</resultMap>
<!-- ,enterprise_number,enterprise_name-->
<sql id="selectEnterpriseEvaluateVo">
select id, enforcement_name, enforcement_id, evaluate_description, linkman, linkman_tel,
authorization, create_time,inspection_efficiency ,check_effect,check_quality ,service_experience from enterprise_evaluate
authorization, create_time,inspection_efficiency ,check_effect,check_quality ,service_experience,check_effectiveness,procedural_legality,
batch_id,satisfaction_level,other_problem_switch,problem1,problem2,problem3,problem4,problem5 from enterprise_evaluate
</sql>
<select id="selectEnterpriseEvaluateList" parameterType="EnterpriseEvaluate" resultMap="EnterpriseEvaluateResult">
@ -35,6 +46,21 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="linkman != null and linkman != ''"> and linkman = #{linkman}</if>
<if test="linkmanTel != null and linkmanTel != ''"> and linkman_tel = #{linkmanTel}</if>
<if test="authorization != null "> and authorization = #{authorization}</if>
<if test="createTime != null "> and create_time = #{createTime}</if>
<if test="inspectionEfficiency != null "> and inspection_efficiency = #{inspectionEfficiency}</if>
<if test="checkEffect != null "> and check_effect = #{checkEffect}</if>
<if test="serviceExperience != null "> and service_experience = #{serviceExperience}</if>
<if test="checkQuality != null "> and check_quality = #{checkQuality}</if>
<if test="checkEffectiveness != null "> and check_effectiveness = #{checkEffectiveness}</if>
<if test="proceduralLegality != null "> and procedural_legality = #{proceduralLegality}</if>
<if test="batchId != null and batchId != ''"> and batch_id = #{batchId}</if>
<if test="satisfactionLevel != null "> and satisfaction_level = #{satisfactionLevel}</if>
<if test="otherProblemSwitch != null "> and other_problem_switch = #{otherProblemSwitch}</if>
<if test="problem1 != null "> and problem1 = #{problem1}</if>
<if test="problem2 != null "> and problem2 = #{problem2}</if>
<if test="problem3 != null "> and problem3 = #{problem3}</if>
<if test="problem4 != null "> and problem4 = #{problem4}</if>
<if test="problem5 != null "> and problem5 = #{problem5}</if>
</where>
</select>
@ -69,6 +95,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="checkQuality != null ">check_quality,</if>
<if test="serviceExperience != null ">service_experience,</if>
<if test="batchId != null and batchId != '' ">batch_id,</if>
<if test="checkEffectiveness != null ">check_effectiveness,</if>
<if test="proceduralLegality != null ">procedural_legality,</if>
<if test="satisfactionLevel != null ">satisfaction_level,</if>
<if test="otherProblemSwitch != null ">other_problem_switch,</if>
<if test="problem1 != null ">problem1,</if>
<if test="problem2 != null ">problem2,</if>
<if test="problem3 != null ">problem3,</if>
<if test="problem4 != null ">problem4,</if>
<if test="problem5 != null ">problem5,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null and id != ''">#{id},</if>
@ -84,6 +119,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="checkQuality != null ">#{checkQuality},</if>
<if test="serviceExperience != null ">#{serviceExperience},</if>
<if test="batchId != null and batchId != '' ">#{batchId},</if>
<if test="checkEffectiveness != null ">#{checkEffectiveness},</if>
<if test="proceduralLegality != null ">#{proceduralLegality},</if>
<if test="satisfactionLevel != null ">#{satisfactionLevel},</if>
<if test="otherProblemSwitch != null ">#{otherProblemSwitch},</if>
<if test="problem1 != null ">#{problem1},</if>
<if test="problem2 != null ">#{problem2},</if>
<if test="problem3 != null ">#{problem3},</if>
<if test="problem4 != null ">#{problem4},</if>
<if test="problem5 != null ">#{problem5},</if>
</trim>
</insert>
@ -97,6 +141,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="linkmanTel != null and linkmanTel != ''">linkman_tel = #{linkmanTel},</if>
<if test="authorization != null ">authorization = #{authorization},</if>
<if test="createTime != null ">create_time = #{createTime},</if>
<if test="inspectionEfficiency != null ">inspection_efficiency = #{inspectionEfficiency},</if>
<if test="checkEffect != null ">check_effect = #{checkEffect},</if>
<if test="serviceExperience != null ">service_experience = #{serviceExperience},</if>
<if test="checkQuality != null ">check_quality = #{checkQuality},</if>
<if test="checkEffectiveness != null ">check_effectiveness = #{checkEffectiveness},</if>
<if test="proceduralLegality != null ">procedural_legality = #{proceduralLegality},</if>
<if test="batchId != null and batchId != ''">batch_id = #{batchId},</if>
<if test="satisfactionLevel != null ">satisfaction_level = #{satisfactionLevel},</if>
<if test="otherProblemSwitch != null ">other_problem_switch = #{otherProblemSwitch},</if>
<if test="problem1 != null ">problem1 = #{problem1},</if>
<if test="problem2 != null ">problem2 = #{problem2},</if>
<if test="problem3 != null ">problem3 = #{problem3},</if>
<if test="problem4 != null ">problem4 = #{problem4},</if>
<if test="problem5 != null ">problem5 = #{problem5},</if>
</trim>
where id = #{id}
</update>

Loading…
Cancel
Save