物料分类回显
This commit is contained in:
+2
@@ -4,6 +4,7 @@ import org.apache.ibatis.type.BaseTypeHandler;
|
||||
import org.apache.ibatis.type.JdbcType;
|
||||
import org.apache.ibatis.type.MappedJdbcTypes;
|
||||
import org.apache.ibatis.type.MappedTypes;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
import java.sql.CallableStatement;
|
||||
@@ -21,6 +22,7 @@ import java.util.List;
|
||||
**/
|
||||
@MappedJdbcTypes(JdbcType.VARCHAR)
|
||||
@MappedTypes({List.class})
|
||||
@Component
|
||||
public class ListTypeHandler extends BaseTypeHandler<List<String>> {
|
||||
|
||||
private static final String DELIM = ",";
|
||||
|
||||
Reference in New Issue
Block a user