refactor(sip): 优化项目信息相关代码
- 注释掉 ProjectInfo 类中的 currencyType 字段的 @Excel 注解 - 在 ProjectInfo 类中的 countryProduct 字段添加读取转换器 -修复 ProjectInfoMapper.xml 中的 SQL 语句master
parent
e6e41c6da0
commit
5a5a134b22
|
@ -89,7 +89,7 @@ public class ProjectInfo extends BaseEntity
|
|||
private BigDecimal estimatedAmount;
|
||||
|
||||
/** 币种 */
|
||||
@Excel(name = "币种")
|
||||
// @Excel(name = "币种")
|
||||
private String currencyType;
|
||||
|
||||
/** 预计下单时间 */
|
||||
|
@ -114,7 +114,7 @@ public class ProjectInfo extends BaseEntity
|
|||
private List<String> competitorList;
|
||||
|
||||
/** 是否国产 */
|
||||
@Excel(name = "是否国产")
|
||||
@Excel(name = "是否国产",readConverterExp = "0=否,1=是")
|
||||
private String countryProduct;
|
||||
|
||||
/** 服务器配置 */
|
||||
|
|
|
@ -91,7 +91,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="projectStage != null and projectStage != ''"> and t1.project_stage = #{projectStage}</if>
|
||||
<if test="projectGraspDegree != null and projectGraspDegree != ''"> and t1.project_grasp_degree = #{projectGraspDegree}</if>
|
||||
<if test="hzSupportUser != null and hzSupportUser != ''"> and t1.hz_support_user = #{hzSupportUser}</if>
|
||||
<if test="hzSupportUserName != null and hzSupportUserName != ''"> t3.user_name like concat('%', #{hzSupportUserName}, '%')</if>
|
||||
<if test="hzSupportUserName != null and hzSupportUserName != ''"> and t3.user_name like concat('%', #{hzSupportUserName}, '%')</if>
|
||||
<if test="operateInstitution != null and operateInstitution != ''"> and t1.operate_institution = #{operateInstitution}</if>
|
||||
<if test="partnerCode != null and partnerCode != ''"> and t1.partner_code = #{partnerCode}</if>
|
||||
<if test="partnerName != null and partnerName != ''"> and t1.partner_name = #{partnerName}</if>
|
||||
|
|
Loading…
Reference in New Issue