|
|
@ -2,13 +2,13 @@ |
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|
|
|
<mapper namespace="com.yxt.anrui.buscenter.biz.bussalesvehicle.BusSalesVehicleMapper"> |
|
|
|
<select id="selectPageVo" resultType="com.yxt.anrui.buscenter.api.bussalesvehicle.BusSalesVehicleVo"> |
|
|
|
select bv.useOrgName, |
|
|
|
select distinct bv.vinNo, |
|
|
|
bv.useOrgName, |
|
|
|
bvoa.orgName deptName, |
|
|
|
bvoa.staffName, |
|
|
|
bvoa.customerName, |
|
|
|
bvoa.contractNo, |
|
|
|
bv.modelName, |
|
|
|
bv.vinNo, |
|
|
|
bvoa.saleTypeValue saleType, |
|
|
|
DATE_FORMAT(bvoa.saleDate, '%Y-%m-%d') as saleDate, |
|
|
|
if(length(bh.closingDate) > 0, '已交付', '未交付') |
|
|
|