APP扣款卡信息变更
This commit is contained in:
parent
e8b2209b07
commit
93b5184065
@ -414,6 +414,28 @@
|
||||
<attribute name="modelId" lable="汽车类型" type="STRING" length="1000" />
|
||||
</attributes>
|
||||
</class>
|
||||
|
||||
<class name="CASHCHANGE_YX" label="扣款卡信息变更" keyAttributes="">
|
||||
<attributes>
|
||||
<attribute name="id" lable="id" type="STRING" length="1000" />
|
||||
<attribute name="acc_number" lable="扣款卡账号" type="STRING" length="1000" />
|
||||
<attribute name="bank_name" lable="开户银行" type="STRING" length="1000" />
|
||||
<attribute name="account" lable="帐户名称" type="STRING" length="1000" />
|
||||
<attribute name="MOBILE" lable="手机号" type="STRING" length="1000" />
|
||||
<attribute name="customerid" lable="客户id" type="STRING" length="1000" />
|
||||
<attribute name="inputuserid" lable="录入人" type="STRING" length="1000" />
|
||||
<attribute name="inputorgid" lable="录入机构" type="STRING" length="1000" />
|
||||
<attribute name="updateuserid" lable="更新人" type="STRING" length="1000" />
|
||||
<attribute name="updateorgid" lable="更新机构" type="STRING" length="1000" />
|
||||
<attribute name="inputtime" lable="登记时间 " type="STRING" length="1000" />
|
||||
<attribute name="updatetime" lable="更新时间" type="STRING" length="1000" />
|
||||
<attribute name="flowunid" lable="流程编号" type="STRING" length="1000" />
|
||||
<attribute name="project_id" lable="项目编号" type="STRING" length="1000" />
|
||||
<attribute name="contract_id" lable="合同编号" type="STRING" length="1000" />
|
||||
<attribute name="pay_money" lable="付款金额" type="STRING" length="1000" />
|
||||
<attribute name="sign_status" lable="签约信息" type="STRING" length="1000" />
|
||||
</attributes>
|
||||
</class>
|
||||
<!-- app流程页签配置 -->
|
||||
</package>
|
||||
|
||||
|
||||
@ -494,6 +494,8 @@
|
||||
<!-- 通用 列表/表单 查询 保存 处理 -->
|
||||
<!-- 通用模板查询 保存 列表 删除 处理 -->
|
||||
apx.com.amarsoft.als.base.awe.controller,
|
||||
<!-- 扣款卡信息变更-->
|
||||
apx.com.amarsoft.als.business.change.controller,
|
||||
</param-value>
|
||||
</context-param>
|
||||
<!-- 对整个webapi进行一些通用处理的过滤器 -->
|
||||
|
||||
@ -0,0 +1,52 @@
|
||||
package apx.com.amarsoft.als.business.change.controller;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.ws.rs.POST;
|
||||
import javax.ws.rs.Path;
|
||||
import javax.ws.rs.core.Context;
|
||||
|
||||
import apx.com.amarsoft.als.business.change.service.CashCardChangeService;
|
||||
import apx.com.amarsoft.als.business.change.service.impl.CashCardChangeServiceImpl;
|
||||
|
||||
import com.amarsoft.are.ARE;
|
||||
import com.amarsoft.are.jbo.JBOTransaction;
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
import com.base.util.ReturnMapUtil;
|
||||
|
||||
/**
|
||||
* 信息变更 > 扣款卡信息变更
|
||||
*
|
||||
*/
|
||||
@Path("/change/apply/controller")
|
||||
public class CashCardChangeController {
|
||||
|
||||
CashCardChangeService service = new CashCardChangeServiceImpl();
|
||||
/**
|
||||
* 扣款卡变更申请列表
|
||||
*
|
||||
* @param requestd
|
||||
* @param sqlca
|
||||
* @param tx
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
@Path("/account/list")
|
||||
@POST
|
||||
public Map<String, Object> queryCashCardChange(
|
||||
@Context HttpServletRequest request, @Context Transaction sqlca,
|
||||
@Context JBOTransaction tx) throws Exception {
|
||||
ReturnMapUtil ReturnMapUtil = new ReturnMapUtil(tx, sqlca);
|
||||
ARE.getLog().info(
|
||||
"[CONTROLLER] CashCardChangeController run .................");
|
||||
ARE.getLog()
|
||||
.info("[Path] /chansge/apply/controller/account/list" + " run .................");
|
||||
try {
|
||||
return service
|
||||
.queryCashCardChange(request, sqlca, tx, ReturnMapUtil);
|
||||
} catch (Exception e) {
|
||||
return ReturnMapUtil.rollback(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,35 @@
|
||||
package apx.com.amarsoft.als.business.change.manage;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import apx.com.amarsoft.als.base.awe.AbstractAweDoQueryManage;
|
||||
|
||||
import com.amarsoft.are.jbo.JBOTransaction;
|
||||
import com.amarsoft.are.lang.StringX;
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
import com.base.util.ReturnMapUtil;
|
||||
|
||||
public class CashCardChangeDoManage extends AbstractAweDoQueryManage {
|
||||
private String sAddWhere;
|
||||
|
||||
public void getGroupId() {
|
||||
sGroupId = "queryCashCardChange";
|
||||
}
|
||||
|
||||
public void getOtherWhere() {
|
||||
super.sOtherWhere = StringX.isSpace(sAddWhere) ? ""
|
||||
: this.sAddWhere;
|
||||
}
|
||||
|
||||
public void setsAddWhere(String sAddWhere) {
|
||||
this.sAddWhere = sAddWhere;
|
||||
}
|
||||
|
||||
public Map<String, Object> queryCashCardChange(HttpServletRequest request,
|
||||
Transaction sqlca, JBOTransaction tx, ReturnMapUtil ReturnMapUtil)
|
||||
throws Exception {
|
||||
return getData(request, sqlca, tx, ReturnMapUtil);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package apx.com.amarsoft.als.business.change.service;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.ws.rs.core.Context;
|
||||
|
||||
import com.amarsoft.are.jbo.JBOTransaction;
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
import com.base.util.ReturnMapUtil;
|
||||
|
||||
public interface CashCardChangeService {
|
||||
Map<String, Object> queryCashCardChange(@Context HttpServletRequest request,
|
||||
@Context Transaction sqlca, @Context JBOTransaction tx,
|
||||
ReturnMapUtil ReturnMapUtil) throws Exception;
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
package apx.com.amarsoft.als.business.change.service.impl;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.ws.rs.core.Context;
|
||||
|
||||
import apx.com.amarsoft.als.business.change.manage.CashCardChangeDoManage;
|
||||
import apx.com.amarsoft.als.business.change.service.CashCardChangeService;
|
||||
//import apx.com.amarsoft.als.business.comm.WorkBusinessCondition;
|
||||
|
||||
import com.amarsoft.are.jbo.JBOTransaction;
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
import com.base.util.MultipartDataUtil;
|
||||
import com.base.util.ReturnMapUtil;
|
||||
|
||||
public class CashCardChangeServiceImpl implements CashCardChangeService {
|
||||
private Map<String, Object> fieldMap;
|
||||
|
||||
// WorkBusinessCondition WorkBusinessCondition = new WorkBusinessCondition();
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public Map<String, Object> queryCashCardChange(@Context HttpServletRequest request,
|
||||
@Context Transaction sqlca, @Context JBOTransaction tx,
|
||||
ReturnMapUtil ReturnMapUtil)
|
||||
throws Exception {
|
||||
Map<String, Object> testMap = (Map<String, Object>) MultipartDataUtil
|
||||
.readRequestParam(request, "UTF-8");
|
||||
fieldMap = (Map<String, Object>) testMap.get("fieldMap");
|
||||
/*String sOtherWhere = WorkBusinessCondition.queryCondition(request,
|
||||
sqlca, tx, "change");*/
|
||||
CashCardChangeDoManage manage = new CashCardChangeDoManage();
|
||||
// manage.setsAddWhere(sOtherWhere);
|
||||
manage.setParamMap(fieldMap);
|
||||
return manage.queryCashCardChange(request, sqlca, tx, ReturnMapUtil);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user