| | |
| | | |
| | | import com.zt.common.service.BaseService; |
| | | import com.zt.life.modules.mainPart.taskReliability.dao.SimulatAssessDao; |
| | | import com.zt.life.modules.mainPart.taskReliability.dto.ProductStatusDto; |
| | | import com.zt.life.modules.mainPart.taskReliability.model.SimulatAssess; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.zt.common.db.query.QueryFilter; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | /** |
| | | * simulat_assess |
| | | * |
| | | * @author zt generator |
| | | * @author zt generator |
| | | * @since 1.0.0 2024-03-20 |
| | | */ |
| | | @Service |
| | | public class SimulatAssessService extends BaseService<SimulatAssessDao, SimulatAssess> { |
| | | public class SimulatAssessService extends BaseService<SimulatAssessDao, SimulatAssess> { |
| | | @Autowired |
| | | private TaskPhaseService taskPhaseService; |
| | | |
| | | /** |
| | | * 分页查询 |
| | |
| | | } |
| | | |
| | | public Integer getNumById(Long productId, Long taskModelId) { |
| | | return baseDao.getNumById(productId,taskModelId); |
| | | return baseDao.getNumById(productId, taskModelId); |
| | | } |
| | | |
| | | public List<SimulatAssess> getList(Long productId, Long taskModelId) { |
| | | return baseDao.getList(productId,taskModelId); |
| | | return baseDao.getList(productId, taskModelId); |
| | | } |
| | | |
| | | public SimulatAssess getParams(Long id, Long taskModelId) { |
| | | return baseDao.getParams(id, taskModelId); |
| | | } |
| | | |
| | | public List<ProductStatusDto> getChildren(Long productId, Long taskId) { |
| | | return baseDao.getChildren(productId, taskId); |
| | | } |
| | | } |