package cn.gistack.sm.sjztmd.service.impl;
|
|
import cn.gistack.sm.sjztmd.entity.AttResStagChar;
|
import cn.gistack.sm.sjztmd.mapper.AttResStagCharMapper;
|
import cn.gistack.sm.sjztmd.service.IAttResStagCharService;
|
import com.baomidou.dynamic.datasource.annotation.DS;
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import com.baomidou.mybatisplus.extension.toolkit.SqlHelper;
|
import org.springblade.core.tool.utils.DateUtil;
|
import org.springframework.stereotype.Service;
|
|
/**
|
* @ClassName AttResStagCharServiceImpl
|
* @Description TODO
|
* @Author aix
|
* @Date 2023/4/21 20:01
|
* @Version 1.0
|
*/
|
@Service
|
@DS("zt")
|
public class AttResStagCharServiceImpl extends ServiceImpl<AttResStagCharMapper, AttResStagChar> implements IAttResStagCharService {
|
|
@Override
|
public AttResStagChar getByResGuid(String resGuid) {
|
return baseMapper.getByResGuid(resGuid);
|
}
|
|
@Override
|
public Boolean customizeUpdateByGuid(AttResStagChar attResStagChar) {
|
attResStagChar.setUpdateTime(DateUtil.now());
|
return SqlHelper.retBool(baseMapper.customizeUpdateByGuid(attResStagChar));
|
}
|
}
|