APP变更说明接口数据补充
This commit is contained in:
parent
1f63316375
commit
a29908715c
@ -20,9 +20,7 @@ import com.base.util.ReturnMapUtil;
|
||||
import com.tenwa.comm.util.jboutil.DataOperatorUtil;
|
||||
|
||||
import apx.com.amarsoft.als.user.change.initiate.service.ApplyChangesService;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT_TEMP;
|
||||
import jbo.com.tenwa.lease.comm.LB_CHANGE_INFO_TEMP;
|
||||
import jbo.com.tenwa.lease.comm.LB_UNION_LESSEE_TEMP;
|
||||
//ÒµÎñ±ä¸ü˵Ã÷
|
||||
public class ApplyChangesServiceServiceImpl implements ApplyChangesService {
|
||||
private Map<String, Object> fieldMap;
|
||||
@ -32,15 +30,17 @@ public class ApplyChangesServiceServiceImpl implements ApplyChangesService {
|
||||
JBOTransaction tx, Transaction sqlca, ReturnMapUtil ReturnMapUtil) throws Exception {
|
||||
Map<String, Object> testMap = (Map<String, Object>) MultipartDataUtil
|
||||
.readRequestParam(request, "UTF-8");
|
||||
|
||||
fieldMap = (Map<String, Object>) testMap.get("fieldMap");
|
||||
Map<String, Object> body = new HashMap<String, Object>();
|
||||
String flowUnid = fieldMap.get("flowunid") == null ? "" : fieldMap.get(
|
||||
"flowunid").toString();
|
||||
|
||||
String sql = "select PROJECT_ID,CHANGE_DATE,CHANGE_MEMO,FLOWUNID from LB_CHANGE_INFO_TEMP where FLOWUNID='"+flowUnid+"' ";
|
||||
List<Map<String, String>> lgutList = DataOperatorUtil.getDataBySql(sql);
|
||||
|
||||
if(lgutList.size()>0){
|
||||
for (Map<String, String> map : lgutList) {
|
||||
body.put("PROJECT_ID",map.get("PROJECT_ID"));
|
||||
body.put("CHANGE_DATE",map.get("CHANGE_DATE"));
|
||||
body.put("CHANGE_MEMO",map.get("CHANGE_MEMO"));
|
||||
body.put("FLOWUNID",map.get("FLOWUNID"));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user