zyy
2025-07-18 dc11990acb945329cdcb28dae7a0aa353a3c18c7
src/main/java/com/nq/service/impl/SitePayServiceImpl.java
@@ -13,11 +13,13 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
@Service("iSitePayService")
public class SitePayServiceImpl
        implements ISitePayService {
    @Autowired
    @Resource
    SitePayMapper sitePayMapper;
    public ServerResponse add(SitePay sitePay) {
@@ -60,8 +62,7 @@
        if (sitePay.getId() == null) {
            return ServerResponse.createByErrorMsg("修改id不能为空");
        }
        int updateCount = this.sitePayMapper.updateByPrimaryKeySelective(sitePay);
        int updateCount = this.sitePayMapper.updateById(sitePay);
        if (updateCount > 0) {
            return ServerResponse.createBySuccessMsg("修改成功");
        }