// 读取落实基本信息 public String getFullfillDetailById(String fullfillId) { if (null == fullfillId || 0 >= fullfillId.length()) { return null; } DictateDisposal dbDictate = new DictateDisposal(); Object[][] dictateData = dbDictate.getFullfillDataById(fullfillId); if (null == dictateData) { return null; } return XmlDataCreator.buildXmlDocument(dictateData, "row"); // 构造xml数据 }
// 获取指令指示基本信息 public String getDictateDetailById(String dictateId, String userCountyCode) { if (null == dictateId || 0 >= dictateId.length() || null == userCountyCode || 0 >= userCountyCode.length()) { return null; } DictateDisposal dbDictate = new DictateDisposal(); // 通过ID获取基本信息 Object[][] dictateData = dbDictate.getDictateDataById(dictateId, userCountyCode); if (null == dictateData) { return null; } String fullfillId = StringHelper.obj2str(dictateData[0][9], ""); // 更新接收时间,和落实状态 if (ConstDefine.DICTATE_DILIVER_CODE.equals(StringHelper.obj2str(dictateData[0][10], ""))) { dbDictate.inceptDictate(fullfillId, DateUtil.dateToString(new Date(), "yyyy-MM-dd HH:mm")); } return XmlDataCreator.buildXmlDocument(dictateData, "row"); // 构造xml数据 }