|
|
|
|
@ -45,24 +45,8 @@ public class TableFieldUtil {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
String[] fields=new String[]{"highest_unit","processing_unit","pn_name","pn_remark","num","basic_unit","stock_type","desc_type","batch","receiving_time","hand_measure","delivery_time","target_location","deal_node","responsible_user_id","marking"};
|
|
|
|
|
String[] fieldNames=new String[]{"主键id",
|
|
|
|
|
"最高处理单元",
|
|
|
|
|
"处理单元",
|
|
|
|
|
"产品",
|
|
|
|
|
"产品简短描述",
|
|
|
|
|
"数量",
|
|
|
|
|
"基本计量单位",
|
|
|
|
|
"库存类型",
|
|
|
|
|
"Desc.SType",
|
|
|
|
|
"批次",
|
|
|
|
|
"收货时间",
|
|
|
|
|
"处理措施",
|
|
|
|
|
"出库时间",
|
|
|
|
|
"目标库位",
|
|
|
|
|
"处理时间节点",
|
|
|
|
|
"责任人id",
|
|
|
|
|
"marking描述"};
|
|
|
|
|
String[] fields=new String[]{"id","pn_code","box_num","basic_unit","batch_num","status","warehouse_type","in_warehouse_time","responsible_user_id","factory_code","location_code","dn","stock_type","start_time","end_time"};
|
|
|
|
|
String[] fieldNames=new String[]{"主键id","产品编码","箱数","基本计量单位","批次数量","检验单状态","仓库流转类型","入库时间","责任人id","厂区编码","库位编码","DN","库存类型","检验开始时间","检验结束时间"};
|
|
|
|
|
for (int i = 0; i < fields.length; i++) {
|
|
|
|
|
String s = CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, fields[i]);
|
|
|
|
|
String fieldName = fieldNames[i];
|
|
|
|
|
|