|
@@ -4,6 +4,7 @@ import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
import com.pdaaphm.biz.dto.SubAlgorithmDTO;
|
|
|
+import com.pdaaphm.biz.mapper.AlgorithmMapper;
|
|
|
import com.pdaaphm.common.utils.DateUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
@@ -18,8 +19,7 @@ import com.pdaaphm.biz.service.IAlgorithmIoFieldService;
|
|
|
* @date 2023-07-26
|
|
|
*/
|
|
|
@Service
|
|
|
-public class AlgorithmIoFieldServiceImpl implements IAlgorithmIoFieldService
|
|
|
-{
|
|
|
+public class AlgorithmIoFieldServiceImpl implements IAlgorithmIoFieldService {
|
|
|
@Autowired
|
|
|
private AlgorithmIoFieldMapper algorithmIoFieldMapper;
|
|
|
|
|
@@ -30,8 +30,7 @@ public class AlgorithmIoFieldServiceImpl implements IAlgorithmIoFieldService
|
|
|
* @return 算法输入输出字段
|
|
|
*/
|
|
|
@Override
|
|
|
- public AlgorithmIoField selectAlgorithmIoFieldById(Long id)
|
|
|
- {
|
|
|
+ public AlgorithmIoField selectAlgorithmIoFieldById(Long id) {
|
|
|
return algorithmIoFieldMapper.selectAlgorithmIoFieldById(id);
|
|
|
}
|
|
|
|
|
@@ -42,8 +41,7 @@ public class AlgorithmIoFieldServiceImpl implements IAlgorithmIoFieldService
|
|
|
* @return 算法输入输出字段
|
|
|
*/
|
|
|
@Override
|
|
|
- public List<AlgorithmIoField> selectAlgorithmIoFieldList(AlgorithmIoField algorithmIoField)
|
|
|
- {
|
|
|
+ public List<AlgorithmIoField> selectAlgorithmIoFieldList(AlgorithmIoField algorithmIoField) {
|
|
|
return algorithmIoFieldMapper.selectAlgorithmIoFieldList(algorithmIoField);
|
|
|
}
|
|
|
|
|
@@ -54,8 +52,7 @@ public class AlgorithmIoFieldServiceImpl implements IAlgorithmIoFieldService
|
|
|
* @return 结果
|
|
|
*/
|
|
|
@Override
|
|
|
- public int insertAlgorithmIoField(AlgorithmIoField algorithmIoField)
|
|
|
- {
|
|
|
+ public int insertAlgorithmIoField(AlgorithmIoField algorithmIoField) {
|
|
|
algorithmIoField.setCreateTime(DateUtils.getNowDate());
|
|
|
return algorithmIoFieldMapper.insertAlgorithmIoField(algorithmIoField);
|
|
|
}
|
|
@@ -67,8 +64,7 @@ public class AlgorithmIoFieldServiceImpl implements IAlgorithmIoFieldService
|
|
|
* @return 结果
|
|
|
*/
|
|
|
@Override
|
|
|
- public int updateAlgorithmIoField(AlgorithmIoField algorithmIoField)
|
|
|
- {
|
|
|
+ public int updateAlgorithmIoField(AlgorithmIoField algorithmIoField) {
|
|
|
algorithmIoField.setUpdateTime(DateUtils.getNowDate());
|
|
|
return algorithmIoFieldMapper.updateAlgorithmIoField(algorithmIoField);
|
|
|
}
|
|
@@ -80,8 +76,7 @@ public class AlgorithmIoFieldServiceImpl implements IAlgorithmIoFieldService
|
|
|
* @return 结果
|
|
|
*/
|
|
|
@Override
|
|
|
- public int deleteAlgorithmIoFieldByIds(Long[] ids)
|
|
|
- {
|
|
|
+ public int deleteAlgorithmIoFieldByIds(Long[] ids) {
|
|
|
return algorithmIoFieldMapper.deleteAlgorithmIoFieldByIds(ids);
|
|
|
}
|
|
|
|
|
@@ -92,11 +87,12 @@ public class AlgorithmIoFieldServiceImpl implements IAlgorithmIoFieldService
|
|
|
* @return 结果
|
|
|
*/
|
|
|
@Override
|
|
|
- public int deleteAlgorithmIoFieldById(Long id)
|
|
|
- {
|
|
|
+ public int deleteAlgorithmIoFieldById(Long id) {
|
|
|
return algorithmIoFieldMapper.deleteAlgorithmIoFieldById(id);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public List<SubAlgorithmDTO> getIoSubList(Long subTypeId, Long algoId) { return algorithmIoFieldMapper.getIoSubList(subTypeId, algoId); }
|
|
|
+ public List<SubAlgorithmDTO> getIoSubList(Long subTypeId, Long algoId) {
|
|
|
+ return algorithmIoFieldMapper.getIoSubList(subTypeId, algoId);
|
|
|
+ }
|
|
|
}
|