|
@@ -94,8 +94,8 @@ public class PartyDataFillHandler { |
|
|
// bean.setUpdateAt(DateUtil.nowDateLong()); |
|
|
// bean.setUpdateAt(DateUtil.nowDateLong()); |
|
|
DbEngine instance = DbEngine.getInstance(); |
|
|
DbEngine instance = DbEngine.getInstance(); |
|
|
// bean.setUser(us.getUserId()); |
|
|
// bean.setUser(us.getUserId()); |
|
|
if(params.readString("outOldData").equals("1")) { // 如果带出上期数据 就不执行初始化 |
|
|
|
|
|
// 通过填报类型 找到最近填报的一条数据, |
|
|
|
|
|
|
|
|
if(params.readString("outOldData").equals("1")) { // 如果带出上期数据,并且能找到最近的数据 就不执行初始化 |
|
|
|
|
|
// 通过填报类型 找到当前机构最近填报的一条数据, |
|
|
int state = params.readInt("type") == 1 ? 1 : 2; |
|
|
int state = params.readInt("type") == 1 ? 1 : 2; |
|
|
String foIdStr = instance.queryString("select fo_id from " |
|
|
String foIdStr = instance.queryString("select fo_id from " |
|
|
+ EntityHelper.getSchemaTableName(FillOut.ENTITY_NAME) |
|
|
+ EntityHelper.getSchemaTableName(FillOut.ENTITY_NAME) |
|
@@ -115,6 +115,11 @@ public class PartyDataFillHandler { |
|
|
financeInfo.setFoId(bean.getId()); |
|
|
financeInfo.setFoId(bean.getId()); |
|
|
businessInfo = addViewBean(retMap,BUSINESS_DS_NAME,new BusinessInfo(), foId," bi_fo_id = ? "); |
|
|
businessInfo = addViewBean(retMap,BUSINESS_DS_NAME,new BusinessInfo(), foId," bi_fo_id = ? "); |
|
|
businessInfo.setFoId(bean.getId()); |
|
|
businessInfo.setFoId(bean.getId()); |
|
|
|
|
|
// 页面下拉字段转换 |
|
|
|
|
|
businessInfo.getData().put("bi_type_text",DictsCache.getInstance().getItemName("tbBusinessType",businessInfo.getType())); |
|
|
|
|
|
businessInfo.getData().put("bi_property_text",DictsCache.getInstance().getItemName("tbNature",businessInfo.getProperty())); |
|
|
|
|
|
businessInfo.getData().put("bi_initiate_text",DictsCache.getInstance().getItemName("tbSubject",businessInfo.getInitiate())); |
|
|
|
|
|
businessInfo.getData().put("bi_execute_regimen_text",DictsCache.getInstance().getItemName("tbKJZD",businessInfo.getExecuteRegimen())); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
initPageDateset(); |
|
|
initPageDateset(); |
|
|