Merge branch 'develop_T1068_client_apply' of https://pms.globalfreepay.com/source/royalpay.manage into develop_T1068_client_apply

# Conflicts:
#	src/main/java/au/com/royalpay/payment/manage/application/web/SimpleClientApplyController.java
master
duLingLing 5 years ago
commit 028d764b5a

@ -35,6 +35,8 @@ public interface SimpleClientApplyService {
JSONObject getClientAggregateFile(String username, MultipartFile file,String clean_days) throws IOException; JSONObject getClientAggregateFile(String username, MultipartFile file,String clean_days) throws IOException;
JSONObject getPreApplyInfoForAggree(String username ,String clean_days);
JSONObject getBankInfo(String bsb_no); JSONObject getBankInfo(String bsb_no);
void checkAccountName(String contact_phone,String nation_code); void checkAccountName(String contact_phone,String nation_code);

@ -345,6 +345,7 @@ public class SimpleClientApplyServiceImpl implements SimpleClientApplyService {
} }
} }
@Override
public JSONObject getPreApplyInfoForAggree(String username ,String clean_days) { public JSONObject getPreApplyInfoForAggree(String username ,String clean_days) {
JSONObject apply = sysClientPreMapperMapper.findByUserName(username); JSONObject apply = sysClientPreMapperMapper.findByUserName(username);

@ -74,12 +74,10 @@ public class SimpleClientApplyController {
simpleClientApplyService.saveOrUpdateApplyInfo(applyBean.insertObject(), username); simpleClientApplyService.saveOrUpdateApplyInfo(applyBean.insertObject(), username);
} }
@PostMapping(value = "/clientCompliance/{clientMoniker}/commit_aggregate_file") @PostMapping(value = "/clientCompliance/{username}/commit_aggregate_file{clean_days}")
@ResponseBody @ResponseBody
public JSONObject getClientArregateFile(@RequestParam MultipartFile file, @RequestHeader("User-Agent") String userAgent, HttpServletRequest request) throws IOException { public JSONObject getClientArregateFile(@RequestParam MultipartFile file,@PathVariable String username,@PathVariable String clean_days) throws IOException {
//这个是上传合同的接口现在为了测试方便返回一个带上传url的JSONObject需要传入usernameclean_days签名图片 //这个是上传合同的接口现在为了测试方便返回一个带合同url的JSONObject需要传入usernameclean_days签名图片
String username = "111";
String clean_days = "11";
return simpleClientApplyService.getClientAggregateFile(username, file,clean_days); return simpleClientApplyService.getClientAggregateFile(username, file,clean_days);
} }

@ -351,22 +351,6 @@
</div> </div>
</div> </div>
<div class="form-group">
<label class="control-label col-sm-2">* Logo</label>
<div class="col-sm-8">
<div class="form-control-static">
<button class="btn btn-success" type="button"
ngf-select="uploadLogo($file)"
accept="image/*">
<i class="fa fa-upload"></i> Upload Logo
</button>
</div>
<uib-progressbar value="logoProgress.value"
ng-if="logoProgress"></uib-progressbar>
<img ng-src="{{partner.logo_url}}" ng-if="partner.logo_url" style="height: 100px;">
</div>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 margin-bottom"> <div class="col-xs-12 margin-bottom">
<button type="button" class="btn btn-success btn-block btn-flat" <button type="button" class="btn btn-success btn-block btn-flat"

Loading…
Cancel
Save