风控中台-产品配置车型切换为北财车型库

This commit is contained in:
zhanglei@ap-leasing.com.cn 2023-09-18 09:43:34 +08:00
parent 8a81b6d417
commit aed9162f17
3 changed files with 86 additions and 2 deletions

View File

@ -7,7 +7,7 @@
History Log:
*/
String TYPENO= CurPage.getParameter("TYPENO");
ASObjectModel doTemp = new ASObjectModel("LmProductAndCarList");
ASObjectModel doTemp = new ASObjectModel("BaicProductAndCarList");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //只读模式
@ -28,7 +28,7 @@
var Return="<%=CurUser.getUserID()%>@~<%=CurUser.getOrgID()%>@~<%=StringFunction.getTodayNow()%>@~<%=TYPENO%>@~";
productid="<%=TYPENO%>";
AsDialog.OpenSelector("SelectCarInfo","productid,"+productid,"dialogWidth=" + parseInt(window.screen.width * 0.6) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",
AsDialog.OpenSelector("SelectCarInfoBaic","productid,"+productid,"dialogWidth=" + parseInt(window.screen.width * 0.6) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",
function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"||sReturn=="")
{

View File

@ -866,5 +866,26 @@
</managerProperties>
</manager>
</class>
<class name="RC_CAR_MODEL" label="车辆信息库" describe="北财车型" keyAttributes="ID">
<attributes>
<attribute name="ID" label="唯一标识" type="String" length="32" />
<attribute name="brand_id" label="品牌id" type="STRING" length="26" />
<attribute name="brand_name" label="品牌名称" type="STRING" length="30"/>
<attribute name="series_id" label="车系id" type="STRING" length="10"/>
<attribute name="series_name" label="车系名称" type="STRING" length="30"/>
<attribute name="model_id" label="车型id" type="STRING" length="15"/>
<attribute name="model_code" label="车型配置编码" type="STRING" length="30"/>
<attribute name="model_name" label="车型名称" type="STRING" length="50"/>
<attribute name="model_plants_price" label="厂家指导价" type="STRING" length="15"/>
<attribute name="model_average_price" label="零售均价" type="STRING" length="15"/>
<attribute name="car_type" label="车辆类型" type="STRING" length="10"/>
<attribute name="car_type_code" label="车辆类型编码" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="RC_CAR_MODEL"/>
</managerProperties>
</manager>
</class>
</package>
</jbo>

View File

@ -0,0 +1,63 @@
package jbo.oti;
/**
* 北财车型库 - JBO命名常量类<br><br>
* Note: This file is generated by ADE tools, <em>dont</em> modify it.<br>
*/
public interface RC_CAR_MODEL {
/**
* 北财车型库<br><br>
* 代表本类映射的BizObjectClass
*/
public static final String CLASS_NAME = "jbo.oti.RC_CAR_MODEL";
/**
* 唯一标识 LONG(64)<br>
*/
public static final String ID = "ID";
/**
* 品牌唯一标识 LONG(64)<br>
*/
public static final String brand_id = "brand_id";
/**
* 品牌名称 LONG(64)<br>
*/
public static final String brand_name = "brand_name";
/**
* 车系ID<br>
*/
public static final String series_id = "series_id";
/**
* 车系名 STRING(20)<br>
*/
public static final String series_name = "series_name";
/**
* 车型id STRING(50)<br>
*/
public static final String model_id = "model_id";
/**
* 车型配置编码 STRING(32)<br>
*/
public static final String model_code = "model_code";
/**
* 车型名称 STRING(32)<br>
*/
public static final String model_name = "model_name";
/**
* 指导价 STRING(32)<br>
*/
public static final String model_plants_price = "model_plants_price";
/**
* 零售均价 STRING(100)<br>
*/
public static final String model_average_price = "model_average_price";
/**
* 车辆类型 STRING(100)<br>
*/
public static final String car_type = "car_type";
/**
* 车辆类型编码 STRING(990)<br>
*/
public static final String car_type_code = "car_type_code";
}