|
@@ -1,7 +1,11 @@
|
|
|
package com.iamberry.rst.service.cm;
|
|
|
|
|
|
+
|
|
|
+import com.iamberry.rst.core.cm.ComplaintSmallClassInfo;
|
|
|
import com.iamberry.rst.core.cm.ComplaintTypeInfo;
|
|
|
+import com.iamberry.rst.faces.cm.ComplaintSmallClassInfoService;
|
|
|
import com.iamberry.rst.faces.cm.ComplaintTypeInfoService;
|
|
|
+import com.iamberry.rst.service.cm.mapper.ComplaintSmallClassInfoMapper;
|
|
|
import com.iamberry.rst.service.cm.mapper.ComplaintTypeInfoMapper;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
@@ -10,12 +14,27 @@ import java.util.List;
|
|
|
|
|
|
@Service
|
|
|
public class ComplaintTypeInfoServiceImpl implements ComplaintTypeInfoService {
|
|
|
-
|
|
|
@Autowired
|
|
|
private ComplaintTypeInfoMapper complaintTypeInfoMapper;
|
|
|
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public int insert(ComplaintTypeInfo record) {
|
|
|
+ return complaintTypeInfoMapper.insert(record);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public ComplaintTypeInfo getTypeById(Integer complaintId) {
|
|
|
+ return complaintTypeInfoMapper.getTypeById(complaintId);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public int updateTypeById(ComplaintTypeInfo record) {
|
|
|
+ return complaintTypeInfoMapper.updateTypeById(record);
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public List<ComplaintTypeInfo> listComplaintTypeInfo(ComplaintTypeInfo complaintTypeInfo) {
|
|
|
return complaintTypeInfoMapper.listComplaintTypeInfo(complaintTypeInfo);
|
|
|
}
|
|
|
-}
|
|
|
+}
|