This commit is contained in:
parent
efe800a554
commit
96adeade60
|
|
@ -121,9 +121,9 @@ public class MaLeaseInfoServiceImpl implements MaLeaseInfoService {
|
|||
phoneNumber = Sm4Utils.decrypt(info.getPhoneNumber());
|
||||
}
|
||||
// 根据电话号码数量发送短信
|
||||
//JSONObject sendResult = SmsTool.sendSms(new SmsParam(phoneNumber, notice.getNoticeContent()), BmConfigItems.ANHUI_COMPANY_SMS_KEY);
|
||||
String sendResult = SmsUtils.smsToken(phoneNumber, maLeaseInfo.getLeaseName(), "");
|
||||
if (StringUtils.isBlank(sendResult)) {
|
||||
JSONObject sendResult = SmsTool.sendSms(new SmsParam(phoneNumber, notice.getNoticeContent()), BmConfigItems.ANHUI_COMPANY_SMS_KEY);
|
||||
//String sendResult = SmsUtils.smsToken(phoneNumber, maLeaseInfo.getLeaseName(), "");
|
||||
if (StringUtils.isBlank(sendResult.toString())) {
|
||||
return AjaxResult.error("短信发送失败");
|
||||
} else {
|
||||
System.out.println("短信发送成功:" + sendResult);
|
||||
|
|
|
|||
|
|
@ -996,6 +996,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
sum(total_lease_day) as totalLeaseDay
|
||||
FROM
|
||||
ma_dev_info
|
||||
where is_active = '1'
|
||||
</select>
|
||||
|
||||
<update id="updateTotalDevUpDay">
|
||||
|
|
|
|||
|
|
@ -628,7 +628,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
AND mt.`level` = '4'
|
||||
LEFT JOIN ma_type mt1 ON mt.parent_id = mt1.type_id
|
||||
AND mt1.`level` = '3'
|
||||
WHERE 1 =1
|
||||
WHERE
|
||||
md.is_active = '1'
|
||||
<if test="keyWord != null and keyWord != ''">
|
||||
and mt1.type_name like concat('%', #{keyWord}, '%') or
|
||||
md.device_name like concat('%', #{keyWord}, '%') or
|
||||
|
|
|
|||
Loading…
Reference in New Issue