From 703668e0b6433f02edd70c27505daa9d7b53ca66 Mon Sep 17 00:00:00 2001 From: tangfutang Date: Thu, 26 Jul 2018 14:15:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E6=89=8B=E8=BD=A6=E5=8F=91=E8=B5=B7?= =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7=EF=BC=8C=E8=B5=84=E6=96=99?= =?UTF-8?q?=E6=B8=85=E5=8D=95=E2=80=94=E2=80=94=E8=BD=A6=E8=BE=86=E7=85=A7?= =?UTF-8?q?=E7=89=87=E5=BF=85=E9=A1=BB=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/Tenwa/Comm/DocList/PayDocList.jsp | 2 ++ src_core/com/tenwa/doc/action/DocListInitAction.java | 3 +++ 2 files changed, 5 insertions(+) diff --git a/WebContent/Tenwa/Comm/DocList/PayDocList.jsp b/WebContent/Tenwa/Comm/DocList/PayDocList.jsp index 84772d0aa..d03643405 100644 --- a/WebContent/Tenwa/Comm/DocList/PayDocList.jsp +++ b/WebContent/Tenwa/Comm/DocList/PayDocList.jsp @@ -10,6 +10,7 @@ */ String flowunid=CurPage.getParameter("FlowUnid"); + String carAttributes=CurPage.getParameter("carAttributes");//获取车类型 if(flowunid==""||flowunid==null){ flowunid="flowunid"; } @@ -42,6 +43,7 @@ Map docParam=new HashMap(); Map other=new HashMap(); + other.put("carAttributes", carAttributes); docParam.put("ObjectType",sObjectType); docParam.put("proj_id", flow.getAttribute("proj_id").getString()); docParam.put("contract_id", flow.getAttribute("contract_id").getString()); diff --git a/src_core/com/tenwa/doc/action/DocListInitAction.java b/src_core/com/tenwa/doc/action/DocListInitAction.java index 0c7be6dae..061a002df 100644 --- a/src_core/com/tenwa/doc/action/DocListInitAction.java +++ b/src_core/com/tenwa/doc/action/DocListInitAction.java @@ -68,6 +68,9 @@ public class DocListInitAction { lib.setAttributeValue("REVIEW_CHECK","DocCheck_2"); lib.setAttributeValue("config_id",config.getAttribute("id").getString()); lib.setAttributeValue("IS_INIT","1"); + if("used_car".equals(other.get("carAttributes"))&&"车辆照片".equals(lib.getAttribute("DOC_NAME").getString())){ + lib.setAttributeValue("DOC_NATURE", "01"); + } libBm.saveObject(lib); }else{ if(lib.getAttribute("IS_INIT").getString().equals("1")){