【fix】添加public
This commit is contained in:
+6
-6
@@ -23,7 +23,7 @@ public class ${entityName}ServiceImpl extends ServiceImpl<${entityName}Mapper, $
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
void add(${entityName} ${entityName?uncap_first}) {
|
||||
public void add(${entityName} ${entityName?uncap_first}) {
|
||||
save(${entityName?uncap_first});
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ public class ${entityName}ServiceImpl extends ServiceImpl<${entityName}Mapper, $
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
void editById(${entityName} ${entityName?uncap_first}) {
|
||||
public void editById(${entityName} ${entityName?uncap_first}) {
|
||||
updateById(${entityName?uncap_first});
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ public class ${entityName}ServiceImpl extends ServiceImpl<${entityName}Mapper, $
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
void deleteById(String id) {
|
||||
public void deleteById(String id) {
|
||||
removeById(id);
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ public class ${entityName}ServiceImpl extends ServiceImpl<${entityName}Mapper, $
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
void deleteByIds(List<String> ids) {
|
||||
public void deleteByIds(List<String> ids) {
|
||||
removeByIds(ids);
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ public class ${entityName}ServiceImpl extends ServiceImpl<${entityName}Mapper, $
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
${entityName} queryById(String id) {
|
||||
public ${entityName} queryById(String id) {
|
||||
return getById(id);
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@ public class ${entityName}ServiceImpl extends ServiceImpl<${entityName}Mapper, $
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
List<${entityName}> queryList() {
|
||||
public List<${entityName}> queryList() {
|
||||
return list();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user