whyclxw
2022-01-18 70795424b3fe4bfb175e74c5fa99d0d255b6772b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.whyc.service;
 
import com.whyc.dto.Response;
import com.whyc.mapper.PwrappAcinfMapper;
import com.whyc.pojo.PwrappAcinf;
import org.springframework.stereotype.Service;
 
import javax.annotation.Resource;
 
@Service
public class PwrappAcinfService {
    @Resource
    private PwrappAcinfMapper mapper;
 
    //更新电源ac设备设置
    public Response updatePowerACConfigById(PwrappAcinf acinf) {
        boolean bl=mapper.updatePowerACConfigById(acinf);
        return new Response().set(1,bl,bl==true?"更新成功!":"更新失败!");
    }
}