Commit e45d9f1d by 杨林龙

开发无在店统计和车辆管理功能+优化接口功能

1 parent 98edc9b8
...@@ -37,7 +37,7 @@ public class VehicleInfoPageDTO extends BaseOrgDto { ...@@ -37,7 +37,7 @@ public class VehicleInfoPageDTO extends BaseOrgDto {
/** /**
* 设备类型 * 设备类型
*/ */
private String deviceType; private Integer deviceType;
/** /**
* 车型 * 车型
......
...@@ -63,21 +63,21 @@ ...@@ -63,21 +63,21 @@
</resultMap> </resultMap>
<resultMap id="VehicleInfoMap" type="cn.com.glsx.admin.modules.model.VehicleInfoPageDTO"> <resultMap id="VehicleInfoMap" type="cn.com.glsx.admin.modules.model.VehicleInfoPageDTO">
<result column="id" jdbcType="VARCHAR" property="id"/> <result column="id" jdbcType="BIGINT" property="id"/>
<result column="workorder_id" jdbcType="VARCHAR" property="workorderId"/> <result column="workorder_id" jdbcType="INTEGER" property="workorderId"/>
<result column="owner_name" jdbcType="VARCHAR" property="ownerName"/> <result column="owner_name" jdbcType="VARCHAR" property="ownerName"/>
<result column="vin" jdbcType="VARCHAR" property="vin"/> <result column="vin" jdbcType="VARCHAR" property="vin"/>
<result column="sn" jdbcType="VARCHAR" property="sn"/> <result column="sn" jdbcType="VARCHAR" property="sn"/>
<result column="device_type" jdbcType="INTEGER" property="deviceType"/> <result column="device_type" jdbcType="INTEGER" property="deviceType"/>
<result column="model_name" jdbcType="VARCHAR" property="modelName"/> <result column="model_name" jdbcType="VARCHAR" property="modelName"/>
<result column="vehicle_type" jdbcType="INTEGER" property="vehicleType"/> <result column="vehicle_type" jdbcType="INTEGER" property="vehicleType"/>
<result column="vehicle_usages" jdbcType="VARCHAR" property="vehicleUsages"/> <result column="vehicle_usages" jdbcType="INTEGER" property="vehicleUsages"/>
<result column="activate_time" jdbcType="TIMESTAMP" property="activateTime"/> <result column="activate_time" jdbcType="TIMESTAMP" property="activateTime"/>
</resultMap> </resultMap>
<resultMap id="VehicleInfoReportExportMap" type="cn.com.glsx.admin.modules.model.export.VehicleInfoReportExport"> <resultMap id="VehicleInfoReportExportMap" type="cn.com.glsx.admin.modules.model.export.VehicleInfoReportExport">
<result column="id" jdbcType="VARCHAR" property="id"/> <result column="id" jdbcType="BIGINT" property="id"/>
<result column="workorder_id" jdbcType="VARCHAR" property="workorderId"/> <result column="workorder_id" jdbcType="INTEGER" property="workorderId"/>
<result column="owner_name" jdbcType="VARCHAR" property="ownerName"/> <result column="owner_name" jdbcType="VARCHAR" property="ownerName"/>
<result column="vin" jdbcType="VARCHAR" property="vin"/> <result column="vin" jdbcType="VARCHAR" property="vin"/>
<result column="sn" jdbcType="VARCHAR" property="sn"/> <result column="sn" jdbcType="VARCHAR" property="sn"/>
......
...@@ -250,6 +250,8 @@ public class VehicleServiceTest { ...@@ -250,6 +250,8 @@ public class VehicleServiceTest {
@Test @Test
public void test01() { public void test01() {
VehicleInfoSearch search = new VehicleInfoSearch(); VehicleInfoSearch search = new VehicleInfoSearch();
search.setPageNumber(1);
search.setPageSize(10);
PageInfo<VehicleInfoPageDTO> vehicleInfoPageDTOPageInfo = vehicleService.searchVehicleInfo(search); PageInfo<VehicleInfoPageDTO> vehicleInfoPageDTOPageInfo = vehicleService.searchVehicleInfo(search);
System.out.println("vehicleInfoPageDTOPageInfo = " + JSON.toJSONString(vehicleInfoPageDTOPageInfo)); System.out.println("vehicleInfoPageDTOPageInfo = " + JSON.toJSONString(vehicleInfoPageDTOPageInfo));
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!