单位问题

ht
qijirenjian 3 months ago
parent b9e5f0e0ca
commit 4fee749c0c

@ -237,7 +237,8 @@ public class BillFieldUtil {
logger_6c507bbc.error("unitid----------- " + unitid); logger_6c507bbc.error("unitid----------- " + unitid);
String unitno = ""; String unitno = "";
RecordSet rs = I18nContextUtil.getBean(RecordSet.class); RecordSet rs = I18nContextUtil.getBean(RecordSet.class);
String poolname_rg = CONN_TYPE.workflow.getType(); // String poolname_rg = CONN_TYPE.workflow.getType();
String poolname_rg = "E10JTZH";
// TODO E10执行sql方法第二参数必须指定源默认使用流程源单体客户无需修改微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源 // TODO E10执行sql方法第二参数必须指定源默认使用流程源单体客户无需修改微服务/组合客户需根据查询表所属服务切换源,或使用外部数据源
//TODO custom 已处理 int类型转string //TODO custom 已处理 int类型转string
String sql = "select id,dwnm from e10_common.dbo.formtable_main_286 where id='" + unitid+"'"; String sql = "select id,dwnm from e10_common.dbo.formtable_main_286 where id='" + unitid+"'";

@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.weaver.common.cache.base.BaseCache; import com.weaver.common.cache.base.BaseCache;
import com.weaver.mc.util.StringUtils;
import com.weaver.seconddev.interfaces.htjt.util.TransUtil; import com.weaver.seconddev.interfaces.htjt.util.TransUtil;
import com.weaver.seconddev.interfaces.prop.ConfigProp; import com.weaver.seconddev.interfaces.prop.ConfigProp;
import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.CloseableHttpResponse;
@ -114,9 +115,10 @@ public class CallDTtripService extends BaseBean {
} }
public String getToken(JSONObject jsonObject,String account,String password){ public String getToken(JSONObject jsonObject,String account,String password){
logger_a99d9846.error("getToken");
// String token = (String) Util_DataCache.getObjVal("DTtrip_token"); // String token = (String) Util_DataCache.getObjVal("DTtrip_token");
String token = ""; String token = "";
if (token == null) { if (StringUtils.isEmpty(token)) {
String result = ""; String result = "";
// String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htsloasync.dttrip_tokenUrl")).trim(); // String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htsloasync.dttrip_tokenUrl")).trim();
// String account = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htsloasync.dttrip_account")).trim(); // String account = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htsloasync.dttrip_account")).trim();

Loading…
Cancel
Save