public ActionResult Update(RentOrder rentOrder) { return(Json(rentOrderOper.Update(rentOrder, delegate(object sender, ISession session) { //判断是否存在领用主单号 IsExistsCode(session, rentOrder); } ))); }
public ActionResult Update(SellOrder sellOrder) { return(Json(sellOrderOper.Update(sellOrder, delegate(object sender, ISession session) { //判断是否存在销售主单号 IsExistsCode(session, sellOrder); } ))); }
public ActionResult Update(CheckStock checkStock) { return(Json(checkStockOper.Update(checkStock, delegate(object sender, ISession session) { //判断是否存在盘点主单号 IsExistsCode(session, checkStock); } ))); }
public ActionResult Update(Unit unit) { return(Json(unitOper.Update(unit, delegate(object sender, ISession session) { //判断是否存在部门Code IsExistsName(session, unit); } ))); }
public ActionResult Update(GoodsType goodsType) { return(Json(goodsTypeOper.Update(goodsType, delegate(object sender, ISession session) { //判断是否存在商品资料Code IsExistsCode(session, goodsType); } ))); }
public ActionResult Update(PurOrderDetail purOrderDetail) { return(Json(purOrderDetailOper.Update(purOrderDetail, delegate(object sender, ISession session) { //判断是否存在采购明细单号 IsExistsCode(session, purOrderDetail); } ))); }
public ActionResult Update(RetOrderDetail retOrderDetail) { return(Json(retOrderDetailOper.Update(retOrderDetail, delegate(object sender, ISession session) { //判断是否存在退货明细单号 IsExistsCode(session, retOrderDetail); } ))); }
public ActionResult Update(CheckStockDetail checkStockDetail) { return(Json(checkStockDetailOper.Update(checkStockDetail, delegate(object sender, ISession session) { //判断是否存在盘点明细单号 IsExistsCode(session, checkStockDetail); } ))); }
public ActionResult Update(ModFunc modFunc) { return(Json(modFuncOper.Update(modFunc, delegate(object sender, ISession session) { //判断是否存在模块功能 IsExists(session, modFunc); } ))); }
public ActionResult Update(StorageAlarm storageAlarm) { return(Json(storageAlarmOper.Update(storageAlarm, delegate(object sender, ISession session) { //判断是否存在库存数据 IsExists(session, storageAlarm); } ))); }
public ActionResult Update(SellPriceInfo sellPriceInfo) { return(Json(sellPriceInfoOper.Update(sellPriceInfo, delegate(object sender, ISession session) { //判断是否存在销售价格管理(商品资料子表) IsExists(session, sellPriceInfo); } ))); }
public ActionResult Update(StockInit stockInit) { return(Json(stockInitOper.Update(stockInit, delegate(object sender, ISession session) { //判断是否存在库存数据 IsExists(session, stockInit); } ))); }
public ActionResult Update(PurOrder purOrder) { return(Json(purOrderOper.Update(purOrder, delegate(object sender, ISession session) { //判断是否存在采购主单号 IsExistsCode(session, purOrder); } ))); }
public ActionResult Update(SellOrderDetail sellOrderDetail) { return(Json(sellOrderDetailOper.Update(sellOrderDetail, delegate(object sender, ISession session) { //判断是否存在销售明细单号 IsExistsCode(session, sellOrderDetail); } ))); }
public ActionResult Update(Position position) { return(Json(positionOper.Update(position, delegate(object sender, ISession session) { //判断是否存在部门Code IsExistsCode(session, position); } ))); }
public ActionResult Update(Garden garden) { //根据地址码获取地址 garden.Addr = PojoUtil.GetAddrForCode(HibernateOper, garden.AddrCode); LocationUtil.Location loc = LocationUtil.GetLocation(garden.Addr + garden.Location); if (loc != null) { garden.Lat = loc.lat; garden.Lng = loc.lng; } return(Json(gardenOper.Update(garden))); }
public ActionResult Update(Company company) { //根据地址码获取地址 company.Addr = PojoUtil.GetAddrForCode(HibernateOper, company.AddrCode); LocationUtil.Location loc = LocationUtil.GetLocation(company.Addr + company.Location); if (loc != null) { company.Lat = loc.lat; company.Lng = loc.lng; } return(Json(companyOper.Update(company))); }
public ActionResult Update(GoodsInfo goodsInfo) { return(Json(goodsInfoOper.Update(goodsInfo, delegate(object sender, ISession session) { //判断是否存在商品资料Code IsExistsCode(session, goodsInfo); //判断是否存在商品资料BarCode IsExistsBarCode(session, goodsInfo); } ))); }
public ActionResult UpdatePwd(string oldPwd, string newPwd) { bool retVal = false; //由工号与密码查找员工 Employee emp = GetEmpForCodeAndPwd(MySelf.Code, oldPwd); if (emp != null) { //修改密码 emp.PwdWeb = newPwd; retVal = employeeOper.Update(emp); //保存到SESSION MySelf = emp; } else { throw new Exceptions.PwdErrorException();//密码错误 } return(Json(retVal)); }
public ActionResult Update(VendorInfo vendorInfo) { //根据地址码获取地址 vendorInfo.Addr = PojoUtil.GetAddrForCode(HibernateOper, vendorInfo.AddrCode); LocationUtil.Location loc = LocationUtil.GetLocation(vendorInfo.Addr + vendorInfo.Location); if (loc != null) { vendorInfo.Lat = loc.lat; vendorInfo.Lng = loc.lng; } return(Json(vendorInfoOper.Update(vendorInfo, delegate(object sender, ISession session) { //判断是否存在部门Code IsExistsCode(session, vendorInfo); } ))); }
public ActionResult Update(Storehouse storehouse) { //根据地址码获取地址 storehouse.Addr = PojoUtil.GetAddrForCode(HibernateOper, storehouse.AddrCode); LocationUtil.Location loc = LocationUtil.GetLocation(storehouse.Addr + storehouse.Location); if (loc != null) { storehouse.Lat = loc.lat; storehouse.Lng = loc.lng; } return(Json(storehouseOper.Update(storehouse, delegate(object sender, ISession session) { //判断是否存在库存Code IsExistsCode(session, storehouse); } ))); }
public ActionResult Update(Department department) { //根据地址码获取地址 department.Addr = PojoUtil.GetAddrForCode(HibernateOper, department.AddrCode); LocationUtil.Location loc = LocationUtil.GetLocation(department.Addr + department.Location); if (loc != null) { department.Lat = loc.lat; department.Lng = loc.lng; } return(Json(departmentOper.Update(department, delegate(object sender, ISession session) { //判断是否存在部门Code IsExistsCode(session, department); } ))); }
public ActionResult UpdateWorkCodeType1(WorkCodeType1 workCodeType1) { return(Json(workCodeType1Oper.Update(workCodeType1))); }
public ActionResult Update(Customer customer) { return(Json(customerOper.Update(customer))); }
public ActionResult Update(EmpModFunc empModFunc) { return(Json(empModFuncOper.Update(empModFunc))); }
public ActionResult Update(EmpMod empMod) { return(Json(empModOper.Update(empMod))); }
public ActionResult Update(Photo photo) { return(Json(photoOper.Update(photo))); }
public ActionResult Update(Mod mod) { return(Json(modOper.Update(mod))); }
public ActionResult UpdateWorkCodeType2(WorkCodeType2 workCodeType2) { return(Json(workCodeType2Oper.Update(workCodeType2))); }
public ActionResult Update(WorkCodeType workCodeType) { return(Json(workCodeTypeOper.Update(workCodeType))); }