gps显示修改

This commit is contained in:
zhanglei 2021-04-09 14:20:16 +08:00
parent c10d744c99
commit 8730620bb2

View File

@ -29,21 +29,16 @@
String contact_phone = Sqlca.getString("select CONTACT_PHONE from GPS_config_info where isenable='1' ");//派工联系人电话
//如果当前有记录优先取数据库中的记录
String distributor_name = "";
if("null".equals(id)){
System.out.println("¾­ÏúÉÌorgId=" + CurUser.getOrgID());
String distributor_id = Sqlca.getString("select distributor_id from lb_project_info where id='"+ProjectId+"'");//»ñÈ¡¾­ÏúÉÌID
distributor_name = Sqlca.getString("select distributor_name from distributor_info where distributor_no='"+distributor_id+"'");//»ñÈ¡¾­ÏúÃû³Æ
}else {
distributor_name = Sqlca.getString("select CAR_ACCOUNT from LM_GPS_ORDER_TEMP where APPLY_NO='"+ProjectNo+"'");
System.out.println("¾­ÏúÉÌdistributor_name=" + distributor_name);
}
System.out.println("经销商orgId=" + CurUser.getOrgID());
String distributor_id = Sqlca.getString("select distributor_id from lb_project_info where id='"+ProjectId+"'");//获取经销商ID
String distributor_name = Sqlca.getString("select distributor_name from distributor_info where distributor_no='"+distributor_id+"'");//获取经销名称
System.out.println("【20210329】经销商=" + distributor_name);
//如果当前部门为直销&&有记录&&0010显示 直销 或者 无记录&&直销&&0010
if("8006014".equals(CurUser.getOrgID()) && "0010".equals(PhaseNo)){
System.out.println("经销商id不等于【8006014】经销商id=" + CurUser.getOrgID());
distributor_name = "安鹏汽车业务直销部(江苏)";
}
System.out.println("【20210329】2经销商=" + distributor_name);
BigDecimal incomNuber = new BigDecimal(Sqlca.getString("select INCOME_NUMBER from LC_CALC_CONDITION_TEMP where FLOWUNID='"+flowunid+"'"));
List<String> images = new ArrayList<String>();
String sql = "select lgp.URL from lm_gps_photo lgp where APPLY_NO='"+ProjectNo+"'";