业务变更、撤销、付款接口参数调整
This commit is contained in:
parent
7a93d4b3e5
commit
3ecc92bdc3
@ -38,16 +38,7 @@ public class PaymentRequestBO implements Serializable{
|
||||
private String CurUserID;
|
||||
private String customertype;
|
||||
private String CustomerName;// ¿Í»§Ãû³Æ
|
||||
|
||||
/*private String total;
|
||||
private String usedlines;
|
||||
private String relines;
|
||||
private String plan_money;
|
||||
private String afact_money;
|
||||
private String allfact_money;
|
||||
private String fee_adjust;
|
||||
private String overmoney;
|
||||
private String username;*/
|
||||
|
||||
|
||||
private String msg;
|
||||
private String operationType;
|
||||
@ -113,25 +104,7 @@ public class PaymentRequestBO implements Serializable{
|
||||
this.ContractId = fieldMap.get("contract_id".toLowerCase()) == null ? ""
|
||||
: fieldMap.get("contract_id".toLowerCase()).toString(); // ºÏͬID
|
||||
|
||||
/*this.total = fieldMap.get("total".toLowerCase()) == null ? ""
|
||||
: fieldMap.get("total".toLowerCase()).toString();
|
||||
this.usedlines = fieldMap.get("usedlines".toLowerCase()) == null ? ""
|
||||
: fieldMap.get("usedlines".toLowerCase()).toString();
|
||||
this.relines = fieldMap.get("relines".toLowerCase()) == null ? ""
|
||||
: fieldMap.get("relines".toLowerCase()).toString();
|
||||
this.plan_money = fieldMap.get("plan_money".toLowerCase()) == null ? ""
|
||||
: fieldMap.get("plan_money".toLowerCase()).toString();
|
||||
this.afact_money = fieldMap.get("afact_money".toLowerCase()) == null ? ""
|
||||
: fieldMap.get("afact_money".toLowerCase()).toString();
|
||||
this.allfact_money = fieldMap.get("allfact_money".toLowerCase()) == null ? ""
|
||||
: fieldMap.get("allfact_money".toLowerCase()).toString();
|
||||
this.fee_adjust = fieldMap.get("fee_adjust".toLowerCase()) == null ? ""
|
||||
: fieldMap.get("fee_adjust".toLowerCase()).toString();
|
||||
this.overmoney = fieldMap.get("overmoney".toLowerCase()) == null ? ""
|
||||
: fieldMap.get("overmoney".toLowerCase()).toString();
|
||||
this.username = fieldMap.get("username".toLowerCase()) == null ? ""
|
||||
: fieldMap.get("username".toLowerCase()).toString();
|
||||
*/
|
||||
|
||||
this.ProjectName = FlowKey+"-"+CustomerName;
|
||||
}
|
||||
|
||||
@ -159,19 +132,7 @@ public class PaymentRequestBO implements Serializable{
|
||||
map.put("ContractId", ContractId);
|
||||
action.setContractId(ContractId);
|
||||
|
||||
/*map.put("total", total);
|
||||
map.put("usedlines", usedlines);
|
||||
map.put("relines", relines);
|
||||
map.put("plan_money", plan_money);
|
||||
map.put("afact_money", afact_money);
|
||||
map.put("allfact_money", allfact_money);
|
||||
map.put("fee_adjust", fee_adjust);
|
||||
map.put("overmoney", overmoney);
|
||||
map.put("username", username);
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
JSONObject jsonObject = JSONObject.fromObject(map);
|
||||
this.fixedFlowParam = jsonObject.toString();
|
||||
|
||||
@ -63,7 +63,7 @@ public class AppUndoServiceServiceImpl implements AppUndoService {
|
||||
fieldMap = (Map<String, Object>) testMap.get("fieldMap"); // ²ÎÊý
|
||||
String flowUnid = fieldMap.get("flowunid") == null ? "" : fieldMap.get(
|
||||
"flowunid").toString();
|
||||
String userid = fieldMap.get("PROJECT_ID") == null ? "" : fieldMap.get("PROJECT_ID").toString();
|
||||
String userid = fieldMap.get("userid") == null ? "" : fieldMap.get("userid").toString();
|
||||
ASUser CurUser = new ASUser(userid, sqlca);
|
||||
BizObject cat = catManage.createQuery(" flowunid =:flowunid").setParameter("flowunid", flowUnid).getSingleResult(true);
|
||||
if(null == cat){
|
||||
@ -71,8 +71,6 @@ public class AppUndoServiceServiceImpl implements AppUndoService {
|
||||
cat.setAttributeValue("updateuserid", userid);
|
||||
cat.setAttributeValue("updateorgid", CurUser.getOrgID());
|
||||
cat.setAttributeValue("updatetime", DateUtil.getSystemTimeByFormat("yyyy/MM/dd HH:mm:ss"));
|
||||
}else{
|
||||
System.out.println("没有此信息!!!");
|
||||
}
|
||||
cat.setAttributeValue("CANCLE_DATE", fieldMap.get("CANCLE_DATE") == null ? "" : fieldMap.get("CANCLE_DATE").toString());
|
||||
cat.setAttributeValue("CANCLE_RESON", fieldMap.get("CANCLE_RESON") == null ? "" : fieldMap.get("CANCLE_RESON").toString());
|
||||
|
||||
@ -36,7 +36,7 @@ public class ApplyChangesServiceServiceImpl implements ApplyChangesService {
|
||||
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+"' ";
|
||||
String sql = "select PROJECT_ID,CHANGE_DATE,FLOWUNID,CHANGE_MEMO 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) {
|
||||
@ -59,23 +59,25 @@ public class ApplyChangesServiceServiceImpl implements ApplyChangesService {
|
||||
fieldMap = (Map<String, Object>) testMap.get("fieldMap"); // ²ÎÊý
|
||||
String flowUnid = fieldMap.get("flowunid") == null ? "" : fieldMap.get(
|
||||
"flowunid").toString();
|
||||
String userid = fieldMap.get("PROJECT_ID") == null ? "" : fieldMap.get("PROJECT_ID").toString();
|
||||
String userid = fieldMap.get("userid") == null ? "" : fieldMap.get("userid").toString();
|
||||
ASUser CurUser = new ASUser(userid, sqlca);
|
||||
BizObject cat = catManage.createQuery(" flowunid =:flowunid").setParameter("flowunid", flowUnid).getSingleResult(true);
|
||||
if(null == cat){
|
||||
cat = catManage.newObject();
|
||||
cat.setAttributeValue("updateuserid", userid);
|
||||
cat.setAttributeValue("PROJECT_ID", "");
|
||||
cat.setAttributeValue("CONTRACT_ID", "");
|
||||
cat.setAttributeValue("updateorgid", CurUser.getOrgID());
|
||||
cat.setAttributeValue("updatetime", DateUtil.getSystemTimeByFormat("yyyy/MM/dd HH:mm:ss"));
|
||||
}else{
|
||||
System.out.println("没有此信息!!!");
|
||||
}
|
||||
cat.setAttributeValue("CHANGE_DATE", fieldMap.get("CHANGE_DATE") == null ? "" : fieldMap.get("CHANGE_DATE").toString());
|
||||
cat.setAttributeValue("CHANGE_MEMO", fieldMap.get("CHANGE_MEMO") == null ? "" : fieldMap.get("CHANGE_MEMO").toString());
|
||||
cat.setAttributeValue("FLOWUNID", fieldMap.get("FLOWUNID") == null ? "" : fieldMap.get("FLOWUNID").toString());
|
||||
|
||||
catManage.saveObject(cat);
|
||||
ReturnMapUtil.setReturnMap(null,
|
||||
RestfullConstant.baseProperty.get("success").toString(), "");
|
||||
return ReturnMapUtil.getReturnMap();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user