package com.action.car; import java.util.Date; import com.java.Carbstb; import com.opensymphony.xwork2.ActionSupport; import com.service.intface.car.CarService; public class UpCarAction extends ActionSupport { private String carnum; private String brand; private String cmode; private String carkind; private String fconsu; private String enginum; private String framenum; private String carload; private String seatnum; private String driver; private Date buydate; private String buyunit; private Long buyprice; private Long initmile; private Long mainmile; private Long maincycle; private String departm; private String carstats; private String cardes; private Long carbstbid; private CarService carService; @Override public String execute() throws Exception { // TODO Auto-generated method stub Carbstb car =new Carbstb(); car.setBrand(brand.trim()); car.setBuydate(buydate); car.setBuyprice(buyprice); car.setBuyunit(buyunit.trim()); car.setCardes(cardes.trim()); car.setCarkind(carkind.trim()); car.setCarload(carload.trim()); car.setCarnum(carnum.trim()); car.setCarstats(carstats.trim()); car.setCmode(cmode.trim()); car.setDepartm(departm.trim()); car.setDriver(driver.trim()); car.setEnginum(enginum.trim()); car.setFconsu(fconsu.trim()); car.setFramenum(framenum.trim()); car.setInitmile(initmile); car.setMaincycle(maincycle); car.setMainmile(mainmile); car.setSeatnum(seatnum.trim()); car.setCarbstbid(carbstbid); addActionMessage("数据修改成功!"); carService.upCar(car); return SUCCESS; } public String getCarnum() { return carnum; } public void setCarnum(String carnum) { this.carnum = carnum; } public String getBrand() { return brand; } public void setBrand(String brand) { this.brand = brand; } public String getCmode() { return cmode; } public void setCmode(String cmode) { this.cmode = cmode; } public String getCarkind() { return carkind; } public Long getCarbstbid() { return carbstbid; } public void setCarbstbid(Long carbstbid) { this.carbstbid = carbstbid; } public void setCarkind(String carkind) { this.carkind = carkind; } public String getFconsu() { return fconsu; } public void setFconsu(String fconsu) { this.fconsu = fconsu; } public String getEnginum() { return enginum; } public void setEnginum(String enginum) { this.enginum = enginum; } public String getFramenum() { return framenum; } public void setFramenum(String framenum) { this.framenum = framenum; } public String getCarload() { return carload; } public void setCarload(String carload) { this.carload = carload; } public String getSeatnum() { return seatnum; } public void setSeatnum(String seatnum) { this.seatnum = seatnum; } public String getDriver() { return driver; } public void setDriver(String driver) { this.driver = driver; } public Date getBuydate() { return buydate; } public void setBuydate(Date buydate) { this.buydate = buydate; } public String getBuyunit() { return buyunit; } public void setBuyunit(String buyunit) { this.buyunit = buyunit; } public Long getBuyprice() { return buyprice; } public void setBuyprice(Long buyprice) { this.buyprice = buyprice; } public Long getInitmile() { return initmile; } public void setInitmile(Long initmile) { this.initmile = initmile; } public Long getMainmile() { return mainmile; } public void setMainmile(Long mainmile) { this.mainmile = mainmile; } public Long getMaincycle() { return maincycle; } public void setMaincycle(Long maincycle) { this.maincycle = maincycle; } public String getDepartm() { return departm; } public void setDepartm(String departm) { this.departm = departm; } public String getCarstats() { return carstats; } public void setCarstats(String carstats) { this.carstats = carstats; } public String getCardes() { return cardes; } public void setCardes(String cardes) { this.cardes = cardes; } public CarService getCarService() { return carService; } public void setCarService(CarService carService) { this.carService = carService; } }
最近下载更多
FelixXu LV2
5月20日
陈小灏 LV15
2023年3月2日
chenchen33 LV1
2022年3月13日
何俊霖 LV2
2021年11月4日
1813612654 LV9
2021年10月26日
zjr355870191 LV1
2021年5月19日
戒烟失败 LV3
2021年5月14日
周志超 LV2
2021年4月23日
0_1573_0 LV11
2021年4月20日
蘑菇 LV1
2021年4月11日
最近浏览更多
quartz LV8
6月18日
FelixXu LV2
5月20日
genyuan2014 LV6
4月27日
hmf1989
4月26日
暂无贡献等级
小旭123 LV1
3月24日
Sylvie
3月19日
暂无贡献等级
heifenglei LV7
2月23日
微信网友_6050164023693312 LV2
2023年12月27日
WBelong LV8
2023年12月25日
qq2901732871 LV9
2023年11月9日