/** * @title updateDutyPayAddFee * @description 更新一条加费记录 * @author 朱超 * @return */ public Reply updateDutyPayAddFee( @Param("pdlmDutyPayAddFee") PDLMDutyPayAddFee pdlmDutyPayAddFee) { PDLMDutyPayAddFee pdlmDutyPayAddFeeTarget = pdlmDutyPayAddFeeService.updateDutyPayAddFee(pdlmDutyPayAddFee); List<PDLMDutyPayAddFee> pdlmDutyPayAddFees = new ArrayList<PDLMDutyPayAddFee>(); pdlmDutyPayAddFees.add(pdlmDutyPayAddFeeTarget); String[] show = new String[] { "id.riskCode", "id.dutyCode", "id.addFeeType", "id.addFeeObject", "addFeeCalCode", "addPointLimit" }; return Replys.with(pdlmDutyPayAddFees).as(Json.class).includes(show); }
/** * @title deleteDutyPayAddFee * @description 删除一条加费记录 * @author 朱超 * @return */ public Reply deleteDutyPayAddFee( @Param("pdlmDutyPayAddFee") PDLMDutyPayAddFee pdlmDutyPayAddFee) { String flag = pdlmDutyPayAddFeeService.deleteDutyPayAddFee(pdlmDutyPayAddFee); return Replys.with(flag).as(Text.class); }
public Reply findByPK(@Param("id") PDLMDutyPayAddFeeId id) { PDLMDutyPayAddFee resultDutyPayAddFee = pdlmDutyPayAddFeeService.findByPK(id); List<PDLMDutyPayAddFee> list = new ArrayList<PDLMDutyPayAddFee>(); list.add(resultDutyPayAddFee); return Replys.with(list).as(Json.class); }