master
shijie 4 years ago
parent 9252dabe64
commit e08f009964
  1. 4
      dq-financial-crms/src/main/java/com/daqing/financial/crms/dao/CompanyCustomerDao.java
  2. 6
      dq-financial-crms/src/main/java/com/daqing/financial/crms/service/impl/CustomerServiceImpl.java
  3. 5
      dq-financial-crms/src/main/resources/mapper/crms/CompanyCustomerDao.xml
  4. 2
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/mapper/DgGuaranteeLetterAssignUserMapper.java
  5. 15
      dq-financial-guarantee/src/main/resources/mapper/guarantee/DgGuaranteeLetterConsiderMapper.xml

@ -7,6 +7,8 @@ import com.daqing.framework.domain.crms.response.CompanyCustomerResponse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 企业类型客户信息表
*
@ -25,4 +27,6 @@ public interface CompanyCustomerDao extends BaseMapper<CompanyCustomerEntity> {
CompanyCustomerResponse queryCompanyInfo(@Param("applyAmountInfo") DgApplyAmountInfoRequest applyAmountInfo);
List<CompanyCustomerEntity> queryCompanyCodeAndName();
}

@ -532,4 +532,10 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerDao, CustomerEntity
CompanyCustomerResponse companyCustomerResponse = companyCustomerDao.queryCompanyInfo(applyAmountInfo);
return new ResponseResult<CompanyCustomerResponse>().SUCCESS(companyCustomerResponse);
}
/* @Override
public List<CompanyCustomerEntity> queryCustomerCodeAndName() {
List<CompanyCustomerEntity>list = companyCustomerDao.queryCustomerCodeAndName();
return list;
}*/
}

@ -59,4 +59,9 @@
</where>
</select>
<!-- 根据客户编号/客户名称获取企业信息 -->
<select id="queryCompanyCodeAndName" resultMap="companyCustomerMap">
SELECT code,`name` from crms_customer
</select>
</mapper>

@ -2,6 +2,7 @@ package com.daqing.financial.guarantee.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.daqing.framework.domain.guarantee.DgGuaranteeLetterAssignUser;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
@ -11,6 +12,7 @@ import com.daqing.framework.domain.guarantee.DgGuaranteeLetterAssignUser;
* @author Qyq
* @since 2020-11-12
*/
@Mapper
public interface DgGuaranteeLetterAssignUserMapper extends BaseMapper<DgGuaranteeLetterAssignUser> {
}

@ -1,15 +0,0 @@
<?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.daqing.financial.guarantee.mapper.DgGuaranteeLetterConsiderMapper">
<!-- 通用查询映射结果 -->
<resultMap id="BaseResultMap" type="com.daqing.framework.domain.guarantee.DgGuaranteeLetterConsider">
<id column="id" property="id" />
<result column="company_id" property="companyId" />
<result column="emp_id" property="empId" />
<result column="status" property="status" />
<result column="create_time" property="createTime" />
<result column="update_time" property="updateTime" />
</resultMap>
</mapper>
Loading…
Cancel
Save