Commit 78e72e5b by hulei

Merge remote-tracking branch 'origin/develop' into develop

parents 1881d996 e660d41c
...@@ -47,7 +47,7 @@ public class LockController { ...@@ -47,7 +47,7 @@ public class LockController {
private SptDataComponent sptDataComponent; private SptDataComponent sptDataComponent;
@PostMapping("/isAccessible") @PostMapping("/isAccessible")
public ResponseSet<LockInfo> accessible(LockInfo lockInfo){ public ResponseSet<LockInfo> accessible(@RequestBody LockInfo lockInfo){
lockInfo.setUsrId(SettleContext.getSessionUserVo().getLogName()); lockInfo.setUsrId(SettleContext.getSessionUserVo().getLogName());
if(!bizLocker.isAccessible(lockInfo)){ if(!bizLocker.isAccessible(lockInfo)){
LockInfo respLock = bizLocker.getLock(lockInfo); LockInfo respLock = bizLocker.getLock(lockInfo);
...@@ -60,7 +60,7 @@ public class LockController { ...@@ -60,7 +60,7 @@ public class LockController {
} }
@PostMapping("/isReroutingAccessible") @PostMapping("/isReroutingAccessible")
public ResponseSet<LockInfo> isReroutingAccessible(LockInfo lockInfo){ public ResponseSet<LockInfo> isReroutingAccessible(@RequestBody LockInfo lockInfo){
lockInfo.setUsrId(SettleContext.getSessionUserVo().getLogName()); lockInfo.setUsrId(SettleContext.getSessionUserVo().getLogName());
if(!bizLocker.isAccessible(lockInfo,"Y")){ if(!bizLocker.isAccessible(lockInfo,"Y")){
LockInfo respLock = bizLocker.getLock(lockInfo); LockInfo respLock = bizLocker.getLock(lockInfo);
...@@ -86,7 +86,7 @@ public class LockController { ...@@ -86,7 +86,7 @@ public class LockController {
@PostMapping("/isSptAccessible") @PostMapping("/isSptAccessible")
public ResponseSet<LockInfo> sptAccessible(LockInfo lockInfo){ public ResponseSet<LockInfo> sptAccessible(@RequestBody LockInfo lockInfo){
lockInfo.setUsrId(SettleContext.getSessionUserVo().getLogName()); lockInfo.setUsrId(SettleContext.getSessionUserVo().getLogName());
if(!bizLocker.isAccessible(lockInfo)){ if(!bizLocker.isAccessible(lockInfo)){
LockInfo respLock = bizLocker.getLock(lockInfo); LockInfo respLock = bizLocker.getLock(lockInfo);
...@@ -121,7 +121,7 @@ public class LockController { ...@@ -121,7 +121,7 @@ public class LockController {
} }
@PostMapping("/getSptAccessible") @PostMapping("/getSptAccessible")
public ResponseSet<LockInfo> getSptAccessible(LockInfo lockInfo){ public ResponseSet<LockInfo> getSptAccessible(@RequestBody LockInfo lockInfo){
lockInfo.setUsrId(SettleContext.getSessionUserVo().getLogName()); lockInfo.setUsrId(SettleContext.getSessionUserVo().getLogName());
LockInfo respLock = bizLocker.getLock(lockInfo); LockInfo respLock = bizLocker.getLock(lockInfo);
if(respLock != null) { if(respLock != null) {
...@@ -132,7 +132,7 @@ public class LockController { ...@@ -132,7 +132,7 @@ public class LockController {
@PostMapping("/checkPending") @PostMapping("/checkPending")
public ResponseSet<PendingCheckResult> checkPending(PendingCheckVo pendingCheckVo){ public ResponseSet<PendingCheckResult> checkPending(@RequestBody PendingCheckVo pendingCheckVo){
pendingCheckVo.setSetWarning(false); pendingCheckVo.setSetWarning(false);
PendingCheckResult pendingCheckResult = pendingCheckService.checkPendingSPTs(pendingCheckVo); PendingCheckResult pendingCheckResult = pendingCheckService.checkPendingSPTs(pendingCheckVo);
return ResponseSet.simpleSuccess(pendingCheckResult); return ResponseSet.simpleSuccess(pendingCheckResult);
......
...@@ -35,12 +35,12 @@ public class PtsptaResource { ...@@ -35,12 +35,12 @@ public class PtsptaResource {
@PostMapping("/queryptainfo") @PostMapping("/queryptainfo")
public ResponseSet queryPtaInfo(PtsptaQueryVo ptsptaVo) { public ResponseSet queryPtaInfo(@RequestBody PtsptaQueryVo ptsptaVo) {
return ptsptaService.queryPta(ptsptaVo); return ptsptaService.queryPta(ptsptaVo);
} }
@PostMapping("/queryptsptainfo") @PostMapping("/queryptsptainfo")
public ResponseSet queryPtsptaInfo(PtsptaQueryVo ptsptaVo) { public ResponseSet queryPtsptaInfo(@RequestBody PtsptaQueryVo ptsptaVo) {
...@@ -51,7 +51,7 @@ public class PtsptaResource { ...@@ -51,7 +51,7 @@ public class PtsptaResource {
* function: 生成临时客户规则 * function: 生成临时客户规则
*/ */
@PostMapping("/ptsTmpAdrAddAuto") @PostMapping("/ptsTmpAdrAddAuto")
public ResponseSet ptsTmpAdrAddAuto(PtsptaVo ptsptaVo) { public ResponseSet ptsTmpAdrAddAuto(@RequestBody PtsptaVo ptsptaVo) {
settleContext.simpleLoadSettleSession(); settleContext.simpleLoadSettleSession();
Map<String, Object> map = ptsptaService.ptsTmpAdrAddAuto(ptsptaVo); Map<String, Object> map = ptsptaService.ptsTmpAdrAddAuto(ptsptaVo);
if(map.containsKey("errorMsg")){ if(map.containsKey("errorMsg")){
...@@ -64,7 +64,7 @@ public class PtsptaResource { ...@@ -64,7 +64,7 @@ public class PtsptaResource {
* function: Ptap13组件生成临时客户规则 * function: Ptap13组件生成临时客户规则
*/ */
@PostMapping("/ptsTmpAdrAdd") @PostMapping("/ptsTmpAdrAdd")
public ResponseSet ptsTmpAdrAdd(PtsptaVo ptsptaVo) { public ResponseSet ptsTmpAdrAdd(@RequestBody PtsptaVo ptsptaVo) {
settleContext.simpleLoadSettleSession(); settleContext.simpleLoadSettleSession();
Map<String, Object> map = ptsptaService.ptsTmpAdrAdd(ptsptaVo); Map<String, Object> map = ptsptaService.ptsTmpAdrAdd(ptsptaVo);
if(map.containsKey("errorMsg")){ if(map.containsKey("errorMsg")){
...@@ -74,54 +74,54 @@ public class PtsptaResource { ...@@ -74,54 +74,54 @@ public class PtsptaResource {
} }
@PostMapping("/getPtsptaInfo") @PostMapping("/getPtsptaInfo")
public ResponseSet getPtsptaInfo(PtsptaQueryVo ptsptaVo) { public ResponseSet getPtsptaInfo(@RequestBody PtsptaQueryVo ptsptaVo) {
return ptsptaService.getPtsptaInfo(ptsptaVo); return ptsptaService.getPtsptaInfo(ptsptaVo);
} }
@PostMapping("/queryPtyByExk") @PostMapping("/queryPtyByExk")
public ResponseSet queryPtyByExk(PtsptaQueryVo ptsptaVo) { public ResponseSet queryPtyByExk(@RequestBody PtsptaQueryVo ptsptaVo) {
return new ResponseSet(ptsptaService.queryPtyByExk(ptsptaVo)); return new ResponseSet(ptsptaService.queryPtyByExk(ptsptaVo));
} }
//Ptap1-13显示弹窗 //Ptap1-13显示弹窗
@PostMapping("/queryPtaInfos") @PostMapping("/queryPtaInfos")
public ResponseSet queryPtaInfos(PtsptaQueryVo ptsptaVo) { public ResponseSet queryPtaInfos(@RequestBody PtsptaQueryVo ptsptaVo) {
return ptsptaService.queryPtas(ptsptaVo); return ptsptaService.queryPtas(ptsptaVo);
} }
//Ptap3组件当事人弹窗回填,返回页面使用信息 //Ptap3组件当事人弹窗回填,返回页面使用信息
@PostMapping("/queryptsptainfo3") @PostMapping("/queryptsptainfo3")
public ResponseSet queryPtsptaInfo3(PtsptaQueryVo ptsptaVo) { public ResponseSet queryPtsptaInfo3(@RequestBody PtsptaQueryVo ptsptaVo) {
return ptsptaService.queryPtsptaInfo3(ptsptaVo); return ptsptaService.queryPtsptaInfo3(ptsptaVo);
} }
//Ptap5、Ptap8显示弹窗 //Ptap5、Ptap8显示弹窗
@PostMapping("/queryPtaInfo5") @PostMapping("/queryPtaInfo5")
public ResponseSet queryPtaInfo5(PtsptaQueryVo ptsptaVo) { public ResponseSet queryPtaInfo5(@RequestBody PtsptaQueryVo ptsptaVo) {
return ptsptaService.queryPta5(ptsptaVo); return ptsptaService.queryPta5(ptsptaVo);
} }
//Ptap5 Bic显示弹窗 //Ptap5 Bic显示弹窗
@PostMapping("/queryPtaBic") @PostMapping("/queryPtaBic")
public ResponseSet queryPtaBic(PtsptaQueryVo ptsptaVo) { public ResponseSet queryPtaBic(@RequestBody PtsptaQueryVo ptsptaVo) {
return ptsptaService.queryPtaBic(ptsptaVo); return ptsptaService.queryPtaBic(ptsptaVo);
} }
//Ptap5 Bic回填 //Ptap5 Bic回填
@PostMapping("/queryPtsptaBic") @PostMapping("/queryPtsptaBic")
public ResponseSet queryPtsptaBic(PtsptaQueryVo ptsptaVo) { public ResponseSet queryPtsptaBic(@RequestBody PtsptaQueryVo ptsptaVo) {
return ptsptaService.queryPtsptaBic(ptsptaVo); return ptsptaService.queryPtsptaBic(ptsptaVo);
} }
//Ptap5、Ptap8组件当事人弹窗回填,返回页面使用信息 //Ptap5、Ptap8组件当事人弹窗回填,返回页面使用信息
@PostMapping("/queryptsptainfo5") @PostMapping("/queryptsptainfo5")
public ResponseSet queryPtsptaInfo5(PtsptaQueryVo ptsptaVo) { public ResponseSet queryPtsptaInfo5(@RequestBody PtsptaQueryVo ptsptaVo) {
return ptsptaService.queryPtsptaInfo5(ptsptaVo); return ptsptaService.queryPtsptaInfo5(ptsptaVo);
} }
//Ptap12和Ptap13组件当事人弹窗回填,返回页面使用信息和账号 //Ptap12和Ptap13组件当事人弹窗回填,返回页面使用信息和账号
@PostMapping("/queryPtsptaInfo12") @PostMapping("/queryPtsptaInfo12")
public ResponseSet queryPtsptaInfo12(PtsptaQueryVo ptsptaVo) { public ResponseSet queryPtsptaInfo12(@RequestBody PtsptaQueryVo ptsptaVo) {
try{ try{
settleContext.simpleLoadSettleSession(); settleContext.simpleLoadSettleSession();
Bch orgbch = SettleContext.getUserSession().getOrgBch(); Bch orgbch = SettleContext.getUserSession().getOrgBch();
...@@ -141,7 +141,7 @@ public class PtsptaResource { ...@@ -141,7 +141,7 @@ public class PtsptaResource {
//Ptap12和Ptap13输入账号显示弹窗 //Ptap12和Ptap13输入账号显示弹窗
@PostMapping("/queryPtaInfoByOrcact") @PostMapping("/queryPtaInfoByOrcact")
public ResponseSet queryPtaInfoByOrcact(PtsptaQueryVo ptsptaVo) { public ResponseSet queryPtaInfoByOrcact(@RequestBody PtsptaQueryVo ptsptaVo) {
try { try {
settleContext.simpleLoadSettleSession(); settleContext.simpleLoadSettleSession();
return ptsptaService.queryPtaInfoByOrcact(ptsptaVo); return ptsptaService.queryPtaInfoByOrcact(ptsptaVo);
...@@ -154,7 +154,7 @@ public class PtsptaResource { ...@@ -154,7 +154,7 @@ public class PtsptaResource {
//应收账款和信保融资通过客户编号查询客户信息 //应收账款和信保融资通过客户编号查询客户信息
@PostMapping("/queryPtyInfos") @PostMapping("/queryPtyInfos")
public ResponseSet queryPtyInfos(PtsptaQueryVo ptsptaVo) { public ResponseSet queryPtyInfos(@RequestBody PtsptaQueryVo ptsptaVo) {
return ptsptaService.queryPtyInfos(ptsptaVo); return ptsptaService.queryPtyInfos(ptsptaVo);
} }
......
...@@ -6,12 +6,10 @@ import com.brilliance.isc.common.smh.vo.SmhQueryVo; ...@@ -6,12 +6,10 @@ import com.brilliance.isc.common.smh.vo.SmhQueryVo;
import com.brilliance.isc.common.vo.SimpleModuleVo; import com.brilliance.isc.common.vo.SimpleModuleVo;
import com.brilliance.isc.vo.ResponseSet; import com.brilliance.isc.vo.ResponseSet;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.RequestMapping;
import javax.annotation.Resource; import javax.annotation.Resource;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.ws.rs.POST; import javax.ws.rs.POST;
import javax.ws.rs.Path; import javax.ws.rs.Path;
...@@ -26,13 +24,13 @@ public class SmhCommonQuery { ...@@ -26,13 +24,13 @@ public class SmhCommonQuery {
private SmhCommonService smhCommonService; private SmhCommonService smhCommonService;
@PostMapping("/listRcvSmhByObj") @PostMapping("/listRcvSmhByObj")
public ResponseSet<List<Smh>> queryRcvSmhByObjTypAndInr(SmhQueryVo smhQueryVo){ public ResponseSet<List<Smh>> queryRcvSmhByObjTypAndInr(@RequestBody SmhQueryVo smhQueryVo){
return ResponseSet.simpleSuccess(smhCommonService.queryRcvSmhByObjTypAndInr(smhQueryVo)); return ResponseSet.simpleSuccess(smhCommonService.queryRcvSmhByObjTypAndInr(smhQueryVo));
} }
@PostMapping("/listSndSmhByObj") @PostMapping("/listSndSmhByObj")
public ResponseSet<List<Smh>> queryAllSmhByObjTypAndInr(SmhQueryVo smhQueryVo){ public ResponseSet<List<Smh>> queryAllSmhByObjTypAndInr(@RequestBody SmhQueryVo smhQueryVo){
return ResponseSet.simpleSuccess(smhCommonService.querySndSmhByObjTypAndInr(smhQueryVo)); return ResponseSet.simpleSuccess(smhCommonService.querySndSmhByObjTypAndInr(smhQueryVo));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment