资料维护调整

This commit is contained in:
zhangqinlin
2021-09-09 15:40:24 +08:00
parent 194698127b
commit 325f74d893
2 changed files with 10 additions and 8 deletions
@@ -165,7 +165,7 @@ public class PayDataFileController extends JeroController<PayDataFile, IPayDataF
@ApiImplicitParam(name = "fileIds", value = "资料id,多个以逗号隔开",required = true),
@ApiImplicitParam(name = "dataType", value = "文件类型,资料1或者会议2",required = true)
})
@PostMapping(value = "/add")
@GetMapping(value = "/add")
@Transactional
public Result<?> add(@RequestParam(name="dataId") String dataId,
@RequestParam(name="fileIds") String fileIds,
@@ -207,7 +207,7 @@ public class PayDataFileController extends JeroController<PayDataFile, IPayDataF
*/
@AutoLog(value = "资料维护(资料和会议)-编辑")
@ApiOperation(value="资料维护(资料和会议)-编辑", notes="资料维护(资料和会议)-编辑")
@PostMapping(value = "/edit")
@GetMapping(value = "/edit")
@Transactional
@ApiImplicitParams({
@ApiImplicitParam(name = "dataId",value = "目录id",required = true),
@@ -23,12 +23,14 @@
pay_case_committee_subitem pm
left JOIN pay_contacts_management pt on (pm.contacts_id = pt.id) where pm.committee_id = #{id}
${wrapper2.customSqlSegment}
<!-- <if test="#{companyName} != null and #{companyName} !=''">-->
<!-- and pm.company_name=#{companyName}-->
<!-- </if>-->
<!-- <if test="#{name} != null and #{name} !=''">-->
<!-- and pt.name=#{name}-->
<!-- </if>-->
<where>
<if test="#{companyName} != null and #{companyName} !=''">
and pm.company_name=#{companyName}
</if>
<if test="#{name} != null and #{name} !=''">
and pt.name=#{name}
</if>
</where>
</select>