Commit d513415f authored by hezhuozhi's avatar hezhuozhi

Merge branch 'developer_bw' of…

Merge branch 'developer_bw' of http://39.100.92.250:5000/moa/jxdj_zx/amos-boot-zx-biz into developer_bw # Conflicts: # amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/Enum/UploadStatusEnum.java
parents 3a5197fe 47531333
...@@ -14,5 +14,5 @@ import java.util.List; ...@@ -14,5 +14,5 @@ import java.util.List;
*/ */
public interface IcbcWithholdMapper extends BaseMapper<IcbcWithhold> { public interface IcbcWithholdMapper extends BaseMapper<IcbcWithhold> {
public List<IcbcWithholdDto> queryForIcbcWithholdPage( String uploader, String uploadStartTime, String uploadEndTime, String uploadStatus, String confirmator, String confirmationStartTime, String confirmationEndTime,String desc); public List<IcbcWithholdDto> queryForIcbcWithholdPage( String uploader, String uploadStartTime, String uploadEndTime, String uploadStatus, String confirmator, String confirmationStartTime, String confirmationEndTime,String desc, String withholdStatus);
} }
...@@ -922,9 +922,11 @@ public class SFTPUtil { ...@@ -922,9 +922,11 @@ public class SFTPUtil {
if (!fileName.equals(".") && !fileName.equals("..")) { // 排除当前和上级目录条目 if (!fileName.equals(".") && !fileName.equals("..")) { // 排除当前和上级目录条目
String fileContentAsString = getFileContentAsString(remotePath, fileName); String fileContentAsString = getFileContentAsString(remotePath, fileName);
List<String> contents = Arrays.asList(fileContentAsString.split("\r\n")); List<String> contents = Arrays.asList(fileContentAsString.split("\r\n"));
for (String content : contents) { if (null != contents && contents.size() > 0) {
ResultLinkField resultLinkField = contentHandle(content); for (String content : contents) {
allJsonData.add(resultLinkField); ResultLinkField resultLinkField = contentHandle(content);
allJsonData.add(resultLinkField);
}
} }
} }
} }
......
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
<select id="exportTotal" resultType="com.yeejoin.amos.boot.module.hygf.api.dto.HygfIcbcRecordExportDTO"> <select id="exportTotal" resultType="com.yeejoin.amos.boot.module.hygf.api.dto.HygfIcbcRecordExportDTO">
SELECT SELECT
MAX(ph.owners_name) AS custName, MAX(ph.owners_name) AS custName,
MAX(ph.telephone) AS idCard, MAX(ph.telephone) AS phone,
MAX(ph.id_card) AS idCard, MAX(ph.id_card) AS idCard,
MAX(ph.regional_companies_name) AS regionalCompaniesName, MAX(ph.regional_companies_name) AS regionalCompaniesName,
MAX(re.medium_id) AS mediumId, MAX(re.medium_id) AS mediumId,
......
...@@ -19,11 +19,14 @@ ...@@ -19,11 +19,14 @@
<if test="uploadStatus != null and uploadStatus != ''"> <if test="uploadStatus != null and uploadStatus != ''">
and upload_status = #{uploadStatus} and upload_status = #{uploadStatus}
</if> </if>
<if test="withholdStatus != null and withholdStatus != ''">
and withhold_status = #{withholdStatus}
</if>
<if test="confirmator != null and confirmator != ''"> <if test="confirmator != null and confirmator != ''">
and confirmator like concat('%',#{confirmator},'%') and confirmator like concat('%',#{confirmator},'%')
</if> </if>
<if test="desc != null and desc != ''"> <if test="desc != null and desc != ''">
and uploader like concat('%',#{desc},'%') and content like concat('%',#{desc},'%')
</if> </if>
<if test="confirmationStartTime != null and confirmationStartTime != ''"> <if test="confirmationStartTime != null and confirmationStartTime != ''">
and confirmation_time > #{confirmationStartTime} and confirmation_time > #{confirmationStartTime}
......
...@@ -48,7 +48,7 @@ public class IcbcWithholdController extends BaseController { ...@@ -48,7 +48,7 @@ public class IcbcWithholdController extends BaseController {
@TycloudOperation(ApiLevel = UserType.AGENCY) @TycloudOperation(ApiLevel = UserType.AGENCY)
@PostMapping(value = "/save") @PostMapping(value = "/save")
@ApiOperation(httpMethod = "POST", value = "新增 聚富通代扣信息表", notes = "新增 聚富通代扣信息表") @ApiOperation(httpMethod = "POST", value = "新增 聚富通代扣信息表", notes = "新增 聚富通代扣信息表")
public ResponseModel save(@RequestBody IcbcWithhold model) { public ResponseModel save(@RequestBody IcbcWithhold model) throws Exception {
icbcWithholdServiceImpl.saveRecord(model); icbcWithholdServiceImpl.saveRecord(model);
return CommonResponseNewUtil.success(); return CommonResponseNewUtil.success();
} }
...@@ -115,9 +115,10 @@ public class IcbcWithholdController extends BaseController { ...@@ -115,9 +115,10 @@ public class IcbcWithholdController extends BaseController {
@RequestParam(value = "confirmator",required = false) String confirmator, @RequestParam(value = "confirmator",required = false) String confirmator,
@RequestParam(value = "confirmationStartTime",required = false) String confirmationStartTime, @RequestParam(value = "confirmationStartTime",required = false) String confirmationStartTime,
@RequestParam(value = "confirmationEndTime",required = false) String confirmationEndTime, @RequestParam(value = "confirmationEndTime",required = false) String confirmationEndTime,
@RequestParam(value = "withholdStatus",required = false) String withholdStatus,
@RequestParam(value = "desc",required = false) String desc) { @RequestParam(value = "desc",required = false) String desc) {
return ResponseHelper.buildResponse(icbcWithholdServiceImpl.queryForIcbcWithholdPage(current,size,uploader,uploadStartTime,uploadEndTime,uploadStatus,confirmator,confirmationStartTime,confirmationEndTime,desc)); return ResponseHelper.buildResponse(icbcWithholdServiceImpl.queryForIcbcWithholdPage(current,size,uploader,uploadStartTime,uploadEndTime,uploadStatus,confirmator,confirmationStartTime,confirmationEndTime,desc,withholdStatus));
} /** } /**
* 列表分页查询 * 列表分页查询
* *
......
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