All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates1.Service.tmpl Maven / Gradle / Ivy

Go to download

Assist in generating CRUD code, without limitation on the specific language, as long as you can write velocity templates.

There is a newer version: 1.0.8
Show newest version

package ${packagePrefix}.service;

import java.util.List;
import java.util.Collection;
import java.util.Map;
import ${packagePrefix}.entity.${className};
import ${packagePrefix}.dao.${className}Mapper;

import com.kbao.core.common.web.service.sql.BaseSQLServiceImpl;
import org.springframework.stereotype.Service;

 /**
 *
 * @ClassName ${className}Service
 * @Description
 * @author ${author}
 * @version V1.0
 * @since V1.0
 * @date ${date}
 *
 */

@Service
public class  ${className}Service extends BaseSQLServiceImpl<${className}, ${keyType}, ${className}Mapper>{

	public List<${className}> list( Map queryParam) {
		return this.mapper.list(queryParam);
	}

	public int batchDelete(List ids) {
		return this.mapper.batchDelete(ids);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy