Commit f5336803 authored by yff's avatar yff

登录以及wolinkVO

parent 5cf0a784
package com.gavel.kwell.controller;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import com.gavel.common.base.controller.BaseController;
@Controller
@RequestMapping("")
public class LoginController extends BaseController {
@RequestMapping("/loginscan_view")
public String login_view(HttpServletRequest request) {
String agent = request.getHeader("User-Agent");
if ( agent.contains("iPhone") || agent.contains("Android") ) {
logger.info("移动端访问; User-Agent: " + agent);
}
return "loginscan_view";
}
}
package com.gavel.kwell.vo;
import com.gavel.common.base.entity.BaseEntity;
import com.gavel.persistence.annotation.FieldMeta;
public class WolinkInfoVO extends BaseEntity {
@FieldMeta(fieldName = "WLXX_ID", caption = "物料编码")
private String wlid;
@FieldMeta(fieldName = "WOSN_CODE", caption = "序列号")
private String wosnCode;
@FieldMeta(fieldName = "WOSN_ID", caption = "条码ID")
private String wosnRealId;
@FieldMeta(fieldName = "WO_ID", caption = "订单ID")
private String woid;
@FieldMeta(fieldName = "BZGX_ID", caption = "工序名称")
private String bzgxid;
@FieldMeta(fieldName = "WOGYLX_ID", caption = "反馈工序ID" )
private String wogylxid;
@FieldMeta(fieldName = "WO_ZT", caption = "订单状态" )
private String wozt;
public String getWlid() {
return wlid;
}
public void setWlid(String wlid) {
this.wlid = wlid;
}
public String getWosnCode() {
return wosnCode;
}
public void setWosnCode(String wosnCode) {
this.wosnCode = wosnCode;
}
public String getWosnRealId() {
return wosnRealId;
}
public void setWosnRealId(String wosnRealId) {
this.wosnRealId = wosnRealId;
}
public String getWoid() {
return woid;
}
public void setWoid(String woid) {
this.woid = woid;
}
public String getBzgxid() {
return bzgxid;
}
public void setBzgxid(String bzgxid) {
this.bzgxid = bzgxid;
}
public String getWogylxid() {
return wogylxid;
}
public void setWogylxid(String wogylxid) {
this.wogylxid = wogylxid;
}
public String getWozt() {
return wozt;
}
public void setWozt(String wozt) {
this.wozt = wozt;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment