src/main/java/cn/pzhu/pserson/service/impl/HealthyServiceImpl.java
(完整代码) 913Bpackage cn.pzhu.pserson.service.impl;
import cn.pzhu.pserson.dao.dao.HealthyMapper;
import cn.pzhu.pserson.domain.Healthy;
import cn.pzhu.pserson.service.HealthyService;
import cn.pzhu.pserson.util.DateFormate;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.Date;
@Service
public class HealthyServiceImpl implements HealthyService {
@Resource
HealthyMapper healthyMapper;
@Override
public Healthy get_HealthyInfo(Integer id) {
return healthyMapper.get_HealthyInfo(id);
}
@Override
public void update_HealthyInfo(Healthy healthy) {
healthyMapper.update_HealthyInfo(healthy);
}
@Override
public void insert_HealthyInfo(Healthy healthy) {
healthy.setCreatedate(DateFormate.dateToString(new Date()));
healthyMapper.insert_HealthyInfo(healthy);
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。