|
|
|
@ -106,8 +106,8 @@ public class YpModel {
|
|
|
|
|
//当前年份
|
|
|
|
|
Calendar calendar = Calendar.getInstance();
|
|
|
|
|
int year = calendar.get(Calendar.YEAR);
|
|
|
|
|
int bx_id = -2;
|
|
|
|
|
String bx_name = "";
|
|
|
|
|
int bx_id;
|
|
|
|
|
String bx_name;
|
|
|
|
|
for (Record record : list) {
|
|
|
|
|
bx_id = record.getInt("bx_id");
|
|
|
|
|
bx_name = record.getStr("bx_name");
|
|
|
|
@ -166,6 +166,7 @@ public class YpModel {
|
|
|
|
|
record.set("mother_name", mother_name);
|
|
|
|
|
record.set("sfzh", sfzh);
|
|
|
|
|
record.set("tel", tel);
|
|
|
|
|
record.set("create_time",DateTime.now());
|
|
|
|
|
record.set("pic", "/upload/" + uuid + ".jpg");
|
|
|
|
|
Db.save("t_yp_record", "id", record);
|
|
|
|
|
return 1;
|
|
|
|
|