| | |
| | | @NotBlank(message = "租户id不可为空") |
| | | @ApiModelProperty(value = "租户id") |
| | | private String tenantId; |
| | | @ApiModelProperty(value = "查询多个状态") |
| | | private List<Integer> statuses; |
| | | |
| | | } |
| | |
| | | TBill save = new TBill(); |
| | | save.setId(bill.getId()); |
| | | try { |
| | | smsUtil.sendSms(bill.getPhone(), "2365726", new String[]{bill.getPartyTwoName()}); |
| | | String name = bill.getPartyTwoName().length()>5?bill.getPartyTwoName().substring(0,5):bill.getPartyTwoName(); |
| | | smsUtil.sendSms(bill.getPhone(), "2365726", new String[]{name}); |
| | | save.setSmsStatus(1); |
| | | }catch (ServiceException e){ |
| | | failNum++; |
| | |
| | | <if test="query.tenantId != null"> |
| | | and t1.tenant_id = #{query.tenantId} |
| | | </if> |
| | | <if test="query.statuses != null and query.statuses.size()>0"> |
| | | and t1.status in |
| | | <foreach collection="query.statuses" item="item" open="(" separator="," close=")"> |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | AND t1.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} |
| | | </where> |
| | | order by t1.create_time desc |