xxing1982 / EDU_SYZT

Offshore Project for SYZT
The Unlicense
2 stars 3 forks source link

[Yi][CMS] Import from Student, Teacher, Book and Test #51

Open zdp207 opened 9 years ago

zdp207 commented 9 years ago

1.Excel template have two phone,1.Contact phone 2.phone. delete a phone column from excel or add a contact phone in user model 2.Student need below field a.特长 b.入学时间 c.入学年级 d.生源(0.本地 1.借读) 3.Excel Template didn't provide school & campus info a.change template provide campus b.create Admin domain which contains campus, get campus from token

  1. Can't operate grade. a.Can't find grade repository & service. b.Excel template provide a grade name, can't get grade id from name.
zdp207 commented 9 years ago

@xxing1982 @jerrywalker0435 @Morgan-Leon

zdp207 commented 9 years ago

import book from Excel model:

  1. the first column id is useful? we need update book with the id or ignore id column and all use save operation. 2.picture url contains domain url, our rule's is store path of picture in db don't store domain name into picture field. 3.Can't find packaging posters video evaluationNum highPraise from book , bookextra model. 4.book adapt age is a range value, model is a int value can't convert AgeRange to bookextra age. 5.type column in excel template is map with category, if it map category we need provide an method convert type String to category, or type is an int value, just store type into category is ok.