Merge branch 'master' of http://8.134.184.104:10801/r/966120Api
New file |
| | |
| | | package com.ruoyi.web.controller.system; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.system.domain.TbOrders; |
| | | import com.ruoyi.system.service.ITbOrdersService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * ordersController |
| | | * |
| | | * @author wzp |
| | | * @date 2025-05-01 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/system/orders") |
| | | public class TbOrdersController extends BaseController |
| | | { |
| | | @Autowired |
| | | private ITbOrdersService tbOrdersService; |
| | | |
| | | /** |
| | | * æ¥è¯¢orderså表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:orders:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(TbOrders tbOrders) |
| | | { |
| | | startPage(); |
| | | List<TbOrders> list = tbOrdersService.selectTbOrdersList(tbOrders); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºorderså表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:orders:export')") |
| | | @Log(title = "orders", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, TbOrders tbOrders) |
| | | { |
| | | List<TbOrders> list = tbOrdersService.selectTbOrdersList(tbOrders); |
| | | ExcelUtil<TbOrders> util = new ExcelUtil<TbOrders>(TbOrders.class); |
| | | util.exportExcel(response, list, "ordersæ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åorders详ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:orders:query')") |
| | | @GetMapping(value = "/{OrderID}") |
| | | public AjaxResult getInfo(@PathVariable("OrderID") Long OrderID) |
| | | { |
| | | return success(tbOrdersService.selectTbOrdersByOrderID(OrderID)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢orders |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:orders:add')") |
| | | @Log(title = "orders", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody TbOrders tbOrders) |
| | | { |
| | | return toAjax(tbOrdersService.insertTbOrders(tbOrders)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹orders |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:orders:edit')") |
| | | @Log(title = "orders", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody TbOrders tbOrders) |
| | | { |
| | | return toAjax(tbOrdersService.updateTbOrders(tbOrders)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤orders |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:orders:remove')") |
| | | @Log(title = "orders", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{OrderIDs}") |
| | | public AjaxResult remove(@PathVariable Long[] OrderIDs) |
| | | { |
| | | return toAjax(tbOrdersService.deleteTbOrdersByOrderIDs(OrderIDs)); |
| | | } |
| | | } |
| | |
| | | # å°å |
| | | host: localhost |
| | | # 端å£ï¼é»è®¤ä¸º6379 |
| | | port: 6379 |
| | | port: 16379 |
| | | # æ°æ®åºç´¢å¼ |
| | | database: 0 |
| | | # å¯ç |
New file |
| | |
| | | package com.ruoyi.system.domain; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * orders对象 tb_orders |
| | | * |
| | | * @author wzp |
| | | * @date 2025-05-01 |
| | | */ |
| | | public class TbOrders extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** 广交ç订å IDï¼ç³»ç»å¯ä¸å建订å */ |
| | | private Long OrderID; |
| | | |
| | | /** è系人 */ |
| | | @Excel(name = "è系人") |
| | | private String LinkPerson; |
| | | |
| | | /** èç³»çµè¯ */ |
| | | @Excel(name = "èç³»çµè¯") |
| | | private String LinkTel; |
| | | |
| | | /** åççµè¯,æ¥çµçµè¯ */ |
| | | @Excel(name = "åççµè¯,æ¥çµçµè¯") |
| | | private String AlarmTel; |
| | | |
| | | /** æ£è
å§å */ |
| | | @Excel(name = "æ£è
å§å") |
| | | private String PatientName; |
| | | |
| | | /** æ£è
æ§å« */ |
| | | @Excel(name = "æ£è
æ§å«") |
| | | private Integer Sex; |
| | | |
| | | /** æ£è
å¹´é¾ */ |
| | | @Excel(name = "æ£è
å¹´é¾") |
| | | private String Age; |
| | | |
| | | /** æ£è
ä½é */ |
| | | @Excel(name = "æ£è
ä½é") |
| | | private String Kg; |
| | | |
| | | /** æ£è
ææ æè¯ */ |
| | | @Excel(name = "æ£è
ææ æè¯") |
| | | private String Sense; |
| | | |
| | | /** ç°åºå°å */ |
| | | @Excel(name = "ç°åºå°å") |
| | | private String LocalAddress; |
| | | |
| | | /** ç°åºå°åç»åº¦ï¼ç®åæ¯ gcj02 åæ ç³»ï¼ */ |
| | | @Excel(name = "ç°åºå°åç»åº¦", readConverterExp = "ç®=忝,g=cj02,å=æ ç³»") |
| | | private Long LocalLongitude; |
| | | |
| | | /** ç°åºå°å纬度 */ |
| | | @Excel(name = "ç°åºå°å纬度") |
| | | private Long LocalLatitude; |
| | | |
| | | /** ç°åºæå¨ç */ |
| | | @Excel(name = "ç°åºæå¨ç") |
| | | private String LocalProvince; |
| | | |
| | | /** ç°åºæå¨åå¸ */ |
| | | @Excel(name = "ç°åºæå¨åå¸") |
| | | private String LocalCity; |
| | | |
| | | /** ç°åºæå¨åº */ |
| | | @Excel(name = "ç°åºæå¨åº") |
| | | private String LocalDistrict; |
| | | |
| | | /** éå¾å°å */ |
| | | @Excel(name = "éå¾å°å") |
| | | private String SendAddress; |
| | | |
| | | /** éå¾ç»åº¦ */ |
| | | @Excel(name = "éå¾ç»åº¦") |
| | | private Long SendLongitude; |
| | | |
| | | /** éå¾çº¬åº¦ */ |
| | | @Excel(name = "éå¾çº¬åº¦") |
| | | private Long SendLatitude; |
| | | |
| | | /** é徿å¨ç */ |
| | | @Excel(name = "é徿å¨ç") |
| | | private String SendProvince; |
| | | |
| | | /** é徿å¨åå¸ */ |
| | | @Excel(name = "é徿å¨åå¸") |
| | | private String SendCity; |
| | | |
| | | /** é徿å¨åº */ |
| | | @Excel(name = "é徿å¨åº") |
| | | private String SendDistrict; |
| | | |
| | | /** é¢ä¼°éé¢ */ |
| | | @Excel(name = "é¢ä¼°éé¢") |
| | | private BigDecimal BookingPrice; |
| | | |
| | | /** é¢çº¦æ¶é´ï¼æ¶é´ç±»åï¼ç²¾ç¡®å°å°æ¶ï¼ */ |
| | | @Excel(name = "é¢çº¦æ¶é´", readConverterExp = "æ¶=é´ç±»åï¼ç²¾ç¡®å°å°æ¶") |
| | | private Date BookingDate; |
| | | |
| | | /** ç
人æ
åµ */ |
| | | @Excel(name = "ç
人æ
åµ") |
| | | private String Complaint; |
| | | |
| | | /** äººæ° */ |
| | | @Excel(name = "人æ°") |
| | | private Long PatientCount; |
| | | |
| | | /** é¢ä¼°é¢çº¦å
Ž */ |
| | | @Excel(name = "é¢ä¼°é¢çº¦å
Ž") |
| | | private Long BookingKM; |
| | | |
| | | /** æ®éæ¤éï¼çæ¤æ¤éï¼å¯æç
§ç¬¬ä¸æ¹çåå
¸æ°å¢æèµå¼ï¼ */ |
| | | @Excel(name = "æ®éæ¤éï¼çæ¤æ¤é", readConverterExp = "å¯=æç
§ç¬¬ä¸æ¹çåå
¸æ°å¢æèµå¼") |
| | | private Long EscortCode; |
| | | |
| | | /** æ¥æ¢¯æçµæ¢¯ */ |
| | | @Excel(name = "æ¥æ¢¯æçµæ¢¯") |
| | | private Long LiftingCode; |
| | | |
| | | /** æ¥¼å± */ |
| | | @Excel(name = "楼å±") |
| | | private Long LiftingFloor; |
| | | |
| | | /** çæ¤ï¼éç(坿ç
§ç¬¬ä¸æ¹çåå
¸æ°å¢æèµå¼) */ |
| | | @Excel(name = "çæ¤ï¼éç(坿ç
§ç¬¬ä¸æ¹çåå
¸æ°å¢æèµå¼)") |
| | | private Long RequirementCode; |
| | | |
| | | /** 转è¿ç±»åï¼å¸å
ï¼å¸å¤ï¼çå¤çï¼å¯æç
§ç¬¬ä¸æ¹çåå
¸æ°å¢æèµå¼ï¼ */ |
| | | @Excel(name = "转è¿ç±»å", readConverterExp = "å¸=å
ï¼å¸å¤ï¼çå¤çï¼å¯æç
§ç¬¬ä¸æ¹çåå
¸æ°å¢æèµå¼") |
| | | private Long TypeCode; |
| | | |
| | | /** ç¬¬ä¸æ¹è°ç¨æ¥å£è¿åç»æ,1-æåï¼2-失败 */ |
| | | @Excel(name = "ç¬¬ä¸æ¹è°ç¨æ¥å£è¿åç»æ,1-æåï¼2-失败") |
| | | private Integer ThirdPartyResult; |
| | | |
| | | /** ç¬¬ä¸æ¹æå¡ID */ |
| | | @Excel(name = "ç¬¬ä¸æ¹æå¡ID") |
| | | private String ServiceOrdID; |
| | | |
| | | /** ç¬¬ä¸æ¹æå¡åå· */ |
| | | @Excel(name = "ç¬¬ä¸æ¹æå¡åå·") |
| | | private String ServiceOrdNo; |
| | | |
| | | private String Remark; |
| | | |
| | | private Date CreateTime; |
| | | |
| | | private Date UpdateTime; |
| | | |
| | | public void setOrderID(Long OrderID) |
| | | { |
| | | this.OrderID = OrderID; |
| | | } |
| | | |
| | | public Long getOrderID() |
| | | { |
| | | return OrderID; |
| | | } |
| | | |
| | | public void setLinkPerson(String LinkPerson) |
| | | { |
| | | this.LinkPerson = LinkPerson; |
| | | } |
| | | |
| | | public String getLinkPerson() |
| | | { |
| | | return LinkPerson; |
| | | } |
| | | |
| | | public void setLinkTel(String LinkTel) |
| | | { |
| | | this.LinkTel = LinkTel; |
| | | } |
| | | |
| | | public String getLinkTel() |
| | | { |
| | | return LinkTel; |
| | | } |
| | | |
| | | public void setAlarmTel(String AlarmTel) |
| | | { |
| | | this.AlarmTel = AlarmTel; |
| | | } |
| | | |
| | | public String getAlarmTel() |
| | | { |
| | | return AlarmTel; |
| | | } |
| | | |
| | | public void setPatientName(String PatientName) |
| | | { |
| | | this.PatientName = PatientName; |
| | | } |
| | | |
| | | public String getPatientName() |
| | | { |
| | | return PatientName; |
| | | } |
| | | |
| | | public void setSex(Integer Sex) |
| | | { |
| | | this.Sex = Sex; |
| | | } |
| | | |
| | | public Integer getSex() |
| | | { |
| | | return Sex; |
| | | } |
| | | |
| | | public void setAge(String Age) |
| | | { |
| | | this.Age = Age; |
| | | } |
| | | |
| | | public String getAge() |
| | | { |
| | | return Age; |
| | | } |
| | | |
| | | public void setKg(String Kg) |
| | | { |
| | | this.Kg = Kg; |
| | | } |
| | | |
| | | public String getKg() |
| | | { |
| | | return Kg; |
| | | } |
| | | |
| | | public void setSense(String Sense) |
| | | { |
| | | this.Sense = Sense; |
| | | } |
| | | |
| | | public String getSense() |
| | | { |
| | | return Sense; |
| | | } |
| | | |
| | | public void setLocalAddress(String LocalAddress) |
| | | { |
| | | this.LocalAddress = LocalAddress; |
| | | } |
| | | |
| | | public String getLocalAddress() |
| | | { |
| | | return LocalAddress; |
| | | } |
| | | |
| | | public void setLocalLongitude(Long LocalLongitude) |
| | | { |
| | | this.LocalLongitude = LocalLongitude; |
| | | } |
| | | |
| | | public Long getLocalLongitude() |
| | | { |
| | | return LocalLongitude; |
| | | } |
| | | |
| | | public void setLocalLatitude(Long LocalLatitude) |
| | | { |
| | | this.LocalLatitude = LocalLatitude; |
| | | } |
| | | |
| | | public Long getLocalLatitude() |
| | | { |
| | | return LocalLatitude; |
| | | } |
| | | |
| | | public void setLocalProvince(String LocalProvince) |
| | | { |
| | | this.LocalProvince = LocalProvince; |
| | | } |
| | | |
| | | public String getLocalProvince() |
| | | { |
| | | return LocalProvince; |
| | | } |
| | | |
| | | public void setLocalCity(String LocalCity) |
| | | { |
| | | this.LocalCity = LocalCity; |
| | | } |
| | | |
| | | public String getLocalCity() |
| | | { |
| | | return LocalCity; |
| | | } |
| | | |
| | | public void setLocalDistrict(String LocalDistrict) |
| | | { |
| | | this.LocalDistrict = LocalDistrict; |
| | | } |
| | | |
| | | public String getLocalDistrict() |
| | | { |
| | | return LocalDistrict; |
| | | } |
| | | |
| | | public void setSendAddress(String SendAddress) |
| | | { |
| | | this.SendAddress = SendAddress; |
| | | } |
| | | |
| | | public String getSendAddress() |
| | | { |
| | | return SendAddress; |
| | | } |
| | | |
| | | public void setSendLongitude(Long SendLongitude) |
| | | { |
| | | this.SendLongitude = SendLongitude; |
| | | } |
| | | |
| | | public Long getSendLongitude() |
| | | { |
| | | return SendLongitude; |
| | | } |
| | | |
| | | public void setSendLatitude(Long SendLatitude) |
| | | { |
| | | this.SendLatitude = SendLatitude; |
| | | } |
| | | |
| | | public Long getSendLatitude() |
| | | { |
| | | return SendLatitude; |
| | | } |
| | | |
| | | public void setSendProvince(String SendProvince) |
| | | { |
| | | this.SendProvince = SendProvince; |
| | | } |
| | | |
| | | public String getSendProvince() |
| | | { |
| | | return SendProvince; |
| | | } |
| | | |
| | | public void setSendCity(String SendCity) |
| | | { |
| | | this.SendCity = SendCity; |
| | | } |
| | | |
| | | public String getSendCity() |
| | | { |
| | | return SendCity; |
| | | } |
| | | |
| | | public void setSendDistrict(String SendDistrict) |
| | | { |
| | | this.SendDistrict = SendDistrict; |
| | | } |
| | | |
| | | public String getSendDistrict() |
| | | { |
| | | return SendDistrict; |
| | | } |
| | | |
| | | public void setBookingPrice(BigDecimal BookingPrice) |
| | | { |
| | | this.BookingPrice = BookingPrice; |
| | | } |
| | | |
| | | public BigDecimal getBookingPrice() |
| | | { |
| | | return BookingPrice; |
| | | } |
| | | |
| | | public void setBookingDate(Date BookingDate) |
| | | { |
| | | this.BookingDate = BookingDate; |
| | | } |
| | | |
| | | public Date getBookingDate() |
| | | { |
| | | return BookingDate; |
| | | } |
| | | |
| | | public void setComplaint(String Complaint) |
| | | { |
| | | this.Complaint = Complaint; |
| | | } |
| | | |
| | | public String getComplaint() |
| | | { |
| | | return Complaint; |
| | | } |
| | | |
| | | public void setPatientCount(Long PatientCount) |
| | | { |
| | | this.PatientCount = PatientCount; |
| | | } |
| | | |
| | | public Long getPatientCount() |
| | | { |
| | | return PatientCount; |
| | | } |
| | | |
| | | public void setBookingKM(Long BookingKM) |
| | | { |
| | | this.BookingKM = BookingKM; |
| | | } |
| | | |
| | | public Long getBookingKM() |
| | | { |
| | | return BookingKM; |
| | | } |
| | | |
| | | public void setEscortCode(Long EscortCode) |
| | | { |
| | | this.EscortCode = EscortCode; |
| | | } |
| | | |
| | | public Long getEscortCode() |
| | | { |
| | | return EscortCode; |
| | | } |
| | | |
| | | public void setLiftingCode(Long LiftingCode) |
| | | { |
| | | this.LiftingCode = LiftingCode; |
| | | } |
| | | |
| | | public Long getLiftingCode() |
| | | { |
| | | return LiftingCode; |
| | | } |
| | | |
| | | public void setLiftingFloor(Long LiftingFloor) |
| | | { |
| | | this.LiftingFloor = LiftingFloor; |
| | | } |
| | | |
| | | public Long getLiftingFloor() |
| | | { |
| | | return LiftingFloor; |
| | | } |
| | | |
| | | public void setRequirementCode(Long RequirementCode) |
| | | { |
| | | this.RequirementCode = RequirementCode; |
| | | } |
| | | |
| | | public Long getRequirementCode() |
| | | { |
| | | return RequirementCode; |
| | | } |
| | | |
| | | public void setTypeCode(Long TypeCode) |
| | | { |
| | | this.TypeCode = TypeCode; |
| | | } |
| | | |
| | | public Long getTypeCode() |
| | | { |
| | | return TypeCode; |
| | | } |
| | | |
| | | public void setThirdPartyResult(Integer ThirdPartyResult) |
| | | { |
| | | this.ThirdPartyResult = ThirdPartyResult; |
| | | } |
| | | |
| | | public Integer getThirdPartyResult() |
| | | { |
| | | return ThirdPartyResult; |
| | | } |
| | | |
| | | public void setServiceOrdID(String ServiceOrdID) |
| | | { |
| | | this.ServiceOrdID = ServiceOrdID; |
| | | } |
| | | |
| | | public String getServiceOrdID() |
| | | { |
| | | return ServiceOrdID; |
| | | } |
| | | |
| | | public void setServiceOrdNo(String ServiceOrdNo) |
| | | { |
| | | this.ServiceOrdNo = ServiceOrdNo; |
| | | } |
| | | |
| | | public String getServiceOrdNo() |
| | | { |
| | | return ServiceOrdNo; |
| | | } |
| | | |
| | | public String getRemark(){return Remark;} |
| | | |
| | | public void setRemark(String Remark){this.Remark =Remark;} |
| | | |
| | | public Date getCreateTime(){return CreateTime;} |
| | | |
| | | public void setCreateTime(Date CreateTime){this.CreateTime =CreateTime;} |
| | | |
| | | public Date getUpdateTime(){return UpdateTime;} |
| | | |
| | | public void setUpdateTime(Date UpdateTime){this.UpdateTime =UpdateTime;} |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("OrderID", getOrderID()) |
| | | .append("LinkPerson", getLinkPerson()) |
| | | .append("LinkTel", getLinkTel()) |
| | | .append("AlarmTel", getAlarmTel()) |
| | | .append("PatientName", getPatientName()) |
| | | .append("Sex", getSex()) |
| | | .append("Age", getAge()) |
| | | .append("Kg", getKg()) |
| | | .append("Sense", getSense()) |
| | | .append("LocalAddress", getLocalAddress()) |
| | | .append("LocalLongitude", getLocalLongitude()) |
| | | .append("LocalLatitude", getLocalLatitude()) |
| | | .append("LocalProvince", getLocalProvince()) |
| | | .append("LocalCity", getLocalCity()) |
| | | .append("LocalDistrict", getLocalDistrict()) |
| | | .append("SendAddress", getSendAddress()) |
| | | .append("SendLongitude", getSendLongitude()) |
| | | .append("SendLatitude", getSendLatitude()) |
| | | .append("SendProvince", getSendProvince()) |
| | | .append("SendCity", getSendCity()) |
| | | .append("SendDistrict", getSendDistrict()) |
| | | .append("BookingPrice", getBookingPrice()) |
| | | .append("BookingDate", getBookingDate()) |
| | | .append("Remark", getRemark()) |
| | | .append("Complaint", getComplaint()) |
| | | .append("PatientCount", getPatientCount()) |
| | | .append("BookingKM", getBookingKM()) |
| | | .append("EscortCode", getEscortCode()) |
| | | .append("LiftingCode", getLiftingCode()) |
| | | .append("LiftingFloor", getLiftingFloor()) |
| | | .append("RequirementCode", getRequirementCode()) |
| | | .append("TypeCode", getTypeCode()) |
| | | .append("ThirdPartyResult", getThirdPartyResult()) |
| | | .append("ServiceOrdID", getServiceOrdID()) |
| | | .append("ServiceOrdNo", getServiceOrdNo()) |
| | | .append("CreateTime", getCreateTime()) |
| | | .append("UpdateTime", getUpdateTime()) |
| | | .toString(); |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.system.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.system.domain.TbOrders; |
| | | |
| | | /** |
| | | * ordersMapperæ¥å£ |
| | | * |
| | | * @author wzp |
| | | * @date 2025-05-01 |
| | | */ |
| | | public interface TbOrdersMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢orders |
| | | * |
| | | * @param OrderID ordersä¸»é® |
| | | * @return orders |
| | | */ |
| | | public TbOrders selectTbOrdersByOrderID(Long OrderID); |
| | | |
| | | /** |
| | | * æ¥è¯¢orderså表 |
| | | * |
| | | * @param tbOrders orders |
| | | * @return orderséå |
| | | */ |
| | | public List<TbOrders> selectTbOrdersList(TbOrders tbOrders); |
| | | |
| | | /** |
| | | * æ°å¢orders |
| | | * |
| | | * @param tbOrders orders |
| | | * @return ç»æ |
| | | */ |
| | | public int insertTbOrders(TbOrders tbOrders); |
| | | |
| | | /** |
| | | * ä¿®æ¹orders |
| | | * |
| | | * @param tbOrders orders |
| | | * @return ç»æ |
| | | */ |
| | | public int updateTbOrders(TbOrders tbOrders); |
| | | |
| | | /** |
| | | * å é¤orders |
| | | * |
| | | * @param OrderID ordersä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteTbOrdersByOrderID(Long OrderID); |
| | | |
| | | /** |
| | | * æ¹éå é¤orders |
| | | * |
| | | * @param OrderIDs éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteTbOrdersByOrderIDs(Long[] OrderIDs); |
| | | } |
New file |
| | |
| | | package com.ruoyi.system.service; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.system.domain.TbOrders; |
| | | |
| | | /** |
| | | * ordersServiceæ¥å£ |
| | | * |
| | | * @author wzp |
| | | * @date 2025-05-01 |
| | | */ |
| | | public interface ITbOrdersService |
| | | { |
| | | /** |
| | | * æ¥è¯¢orders |
| | | * |
| | | * @param OrderID ordersä¸»é® |
| | | * @return orders |
| | | */ |
| | | public TbOrders selectTbOrdersByOrderID(Long OrderID); |
| | | |
| | | /** |
| | | * æ¥è¯¢orderså表 |
| | | * |
| | | * @param tbOrders orders |
| | | * @return orderséå |
| | | */ |
| | | public List<TbOrders> selectTbOrdersList(TbOrders tbOrders); |
| | | |
| | | /** |
| | | * æ°å¢orders |
| | | * |
| | | * @param tbOrders orders |
| | | * @return ç»æ |
| | | */ |
| | | public int insertTbOrders(TbOrders tbOrders); |
| | | |
| | | /** |
| | | * ä¿®æ¹orders |
| | | * |
| | | * @param tbOrders orders |
| | | * @return ç»æ |
| | | */ |
| | | public int updateTbOrders(TbOrders tbOrders); |
| | | |
| | | /** |
| | | * æ¹éå é¤orders |
| | | * |
| | | * @param OrderIDs éè¦å é¤çorders主é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteTbOrdersByOrderIDs(Long[] OrderIDs); |
| | | |
| | | /** |
| | | * å é¤ordersä¿¡æ¯ |
| | | * |
| | | * @param OrderID ordersä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteTbOrdersByOrderID(Long OrderID); |
| | | } |
New file |
| | |
| | | package com.ruoyi.system.service.impl; |
| | | |
| | | import java.util.List; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.ruoyi.system.mapper.TbOrdersMapper; |
| | | import com.ruoyi.system.domain.TbOrders; |
| | | import com.ruoyi.system.service.ITbOrdersService; |
| | | |
| | | /** |
| | | * ordersServiceä¸å¡å±å¤ç |
| | | * |
| | | * @author wzp |
| | | * @date 2025-05-01 |
| | | */ |
| | | @Service |
| | | public class TbOrdersServiceImpl implements ITbOrdersService |
| | | { |
| | | @Autowired |
| | | private TbOrdersMapper tbOrdersMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢orders |
| | | * |
| | | * @param OrderID ordersä¸»é® |
| | | * @return orders |
| | | */ |
| | | @Override |
| | | public TbOrders selectTbOrdersByOrderID(Long OrderID) |
| | | { |
| | | return tbOrdersMapper.selectTbOrdersByOrderID(OrderID); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢orderså表 |
| | | * |
| | | * @param tbOrders orders |
| | | * @return orders |
| | | */ |
| | | @Override |
| | | public List<TbOrders> selectTbOrdersList(TbOrders tbOrders) |
| | | { |
| | | return tbOrdersMapper.selectTbOrdersList(tbOrders); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢orders |
| | | * |
| | | * @param tbOrders orders |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertTbOrders(TbOrders tbOrders) |
| | | { |
| | | return tbOrdersMapper.insertTbOrders(tbOrders); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹orders |
| | | * |
| | | * @param tbOrders orders |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateTbOrders(TbOrders tbOrders) |
| | | { |
| | | return tbOrdersMapper.updateTbOrders(tbOrders); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤orders |
| | | * |
| | | * @param OrderIDs éè¦å é¤çordersä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteTbOrdersByOrderIDs(Long[] OrderIDs) |
| | | { |
| | | return tbOrdersMapper.deleteTbOrdersByOrderIDs(OrderIDs); |
| | | } |
| | | |
| | | /** |
| | | * å é¤ordersä¿¡æ¯ |
| | | * |
| | | * @param OrderID ordersä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteTbOrdersByOrderID(Long OrderID) |
| | | { |
| | | return tbOrdersMapper.deleteTbOrdersByOrderID(OrderID); |
| | | } |
| | | } |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.ruoyi.system.mapper.TbOrdersMapper"> |
| | | |
| | | <resultMap type="TbOrders" id="TbOrdersResult"> |
| | | <result property="OrderID" column="OrderID" /> |
| | | <result property="LinkPerson" column="LinkPerson" /> |
| | | <result property="LinkTel" column="LinkTel" /> |
| | | <result property="AlarmTel" column="AlarmTel" /> |
| | | <result property="PatientName" column="PatientName" /> |
| | | <result property="Sex" column="Sex" /> |
| | | <result property="Age" column="Age" /> |
| | | <result property="Kg" column="Kg" /> |
| | | <result property="Sense" column="Sense" /> |
| | | <result property="LocalAddress" column="LocalAddress" /> |
| | | <result property="LocalLongitude" column="LocalLongitude" /> |
| | | <result property="LocalLatitude" column="LocalLatitude" /> |
| | | <result property="LocalProvince" column="LocalProvince" /> |
| | | <result property="LocalCity" column="LocalCity" /> |
| | | <result property="LocalDistrict" column="LocalDistrict" /> |
| | | <result property="SendAddress" column="SendAddress" /> |
| | | <result property="SendLongitude" column="SendLongitude" /> |
| | | <result property="SendLatitude" column="SendLatitude" /> |
| | | <result property="SendProvince" column="SendProvince" /> |
| | | <result property="SendCity" column="SendCity" /> |
| | | <result property="SendDistrict" column="SendDistrict" /> |
| | | <result property="BookingPrice" column="BookingPrice" /> |
| | | <result property="BookingDate" column="BookingDate" /> |
| | | <result property="Remark" column="Remark" /> |
| | | <result property="Complaint" column="Complaint" /> |
| | | <result property="PatientCount" column="PatientCount" /> |
| | | <result property="BookingKM" column="BookingKM" /> |
| | | <result property="EscortCode" column="EscortCode" /> |
| | | <result property="LiftingCode" column="LiftingCode" /> |
| | | <result property="LiftingFloor" column="LiftingFloor" /> |
| | | <result property="RequirementCode" column="RequirementCode" /> |
| | | <result property="TypeCode" column="TypeCode" /> |
| | | <result property="ThirdPartyResult" column="ThirdPartyResult" /> |
| | | <result property="ServiceOrdID" column="ServiceOrdID" /> |
| | | <result property="ServiceOrdNo" column="ServiceOrdNo" /> |
| | | <result property="CreateTime" column="CreateTime" /> |
| | | <result property="UpdateTime" column="UpdateTime" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectTbOrdersVo"> |
| | | select OrderID, LinkPerson, LinkTel, AlarmTel, PatientName, Sex, Age, Kg, Sense, LocalAddress, LocalLongitude, LocalLatitude, LocalProvince, LocalCity, LocalDistrict, SendAddress, SendLongitude, SendLatitude, SendProvince, SendCity, SendDistrict, BookingPrice, BookingDate, Remark, Complaint, PatientCount, BookingKM, EscortCode, LiftingCode, LiftingFloor, RequirementCode, TypeCode, ThirdPartyResult, ServiceOrdID, ServiceOrdNo, CreateTime, UpdateTime from tb_orders |
| | | </sql> |
| | | |
| | | <select id="selectTbOrdersList" parameterType="TbOrders" resultMap="TbOrdersResult"> |
| | | <include refid="selectTbOrdersVo"/> |
| | | <where> |
| | | <if test="LinkPerson != null and LinkPerson != ''"> and LinkPerson = #{LinkPerson}</if> |
| | | <if test="LinkTel != null and LinkTel != ''"> and LinkTel = #{LinkTel}</if> |
| | | <if test="AlarmTel != null and AlarmTel != ''"> and AlarmTel = #{AlarmTel}</if> |
| | | <if test="PatientName != null and PatientName != ''"> and PatientName like concat('%', #{PatientName}, '%')</if> |
| | | <if test="Sex != null "> and Sex = #{Sex}</if> |
| | | <if test="Age != null and Age != ''"> and Age = #{Age}</if> |
| | | <if test="Kg != null and Kg != ''"> and Kg = #{Kg}</if> |
| | | <if test="Sense != null and Sense != ''"> and Sense = #{Sense}</if> |
| | | <if test="LocalAddress != null and LocalAddress != ''"> and LocalAddress = #{LocalAddress}</if> |
| | | <if test="LocalLongitude != null "> and LocalLongitude = #{LocalLongitude}</if> |
| | | <if test="LocalLatitude != null "> and LocalLatitude = #{LocalLatitude}</if> |
| | | <if test="LocalProvince != null and LocalProvince != ''"> and LocalProvince = #{LocalProvince}</if> |
| | | <if test="LocalCity != null and LocalCity != ''"> and LocalCity = #{LocalCity}</if> |
| | | <if test="LocalDistrict != null and LocalDistrict != ''"> and LocalDistrict = #{LocalDistrict}</if> |
| | | <if test="SendAddress != null and SendAddress != ''"> and SendAddress = #{SendAddress}</if> |
| | | <if test="SendLongitude != null "> and SendLongitude = #{SendLongitude}</if> |
| | | <if test="SendLatitude != null "> and SendLatitude = #{SendLatitude}</if> |
| | | <if test="SendProvince != null and SendProvince != ''"> and SendProvince = #{SendProvince}</if> |
| | | <if test="SendCity != null and SendCity != ''"> and SendCity = #{SendCity}</if> |
| | | <if test="SendDistrict != null and SendDistrict != ''"> and SendDistrict = #{SendDistrict}</if> |
| | | <if test="BookingPrice != null "> and BookingPrice = #{BookingPrice}</if> |
| | | <if test="BookingDate != null "> and BookingDate = #{BookingDate}</if> |
| | | <if test="Remark != null and Remark != ''"> and Remark = #{Remark}</if> |
| | | <if test="Complaint != null and Complaint != ''"> and Complaint = #{Complaint}</if> |
| | | <if test="PatientCount != null "> and PatientCount = #{PatientCount}</if> |
| | | <if test="BookingKM != null "> and BookingKM = #{BookingKM}</if> |
| | | <if test="EscortCode != null "> and EscortCode = #{EscortCode}</if> |
| | | <if test="LiftingCode != null "> and LiftingCode = #{LiftingCode}</if> |
| | | <if test="LiftingFloor != null "> and LiftingFloor = #{LiftingFloor}</if> |
| | | <if test="RequirementCode != null "> and RequirementCode = #{RequirementCode}</if> |
| | | <if test="TypeCode != null "> and TypeCode = #{TypeCode}</if> |
| | | <if test="ThirdPartyResult != null "> and ThirdPartyResult = #{ThirdPartyResult}</if> |
| | | <if test="ServiceOrdID != null and ServiceOrdID != ''"> and ServiceOrdID = #{ServiceOrdID}</if> |
| | | <if test="ServiceOrdNo != null and ServiceOrdNo != ''"> and ServiceOrdNo = #{ServiceOrdNo}</if> |
| | | <if test="CreateTime != null "> and CreateTime = #{CreateTime}</if> |
| | | <if test="UpdateTime != null "> and UpdateTime = #{UpdateTime}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectTbOrdersByOrderID" parameterType="Long" resultMap="TbOrdersResult"> |
| | | <include refid="selectTbOrdersVo"/> |
| | | where OrderID = #{OrderID} |
| | | </select> |
| | | |
| | | <insert id="insertTbOrders" parameterType="TbOrders" useGeneratedKeys="true" keyProperty="OrderID"> |
| | | insert into tb_orders |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="LinkPerson != null">LinkPerson,</if> |
| | | <if test="LinkTel != null">LinkTel,</if> |
| | | <if test="AlarmTel != null">AlarmTel,</if> |
| | | <if test="PatientName != null">PatientName,</if> |
| | | <if test="Sex != null">Sex,</if> |
| | | <if test="Age != null">Age,</if> |
| | | <if test="Kg != null">Kg,</if> |
| | | <if test="Sense != null">Sense,</if> |
| | | <if test="LocalAddress != null">LocalAddress,</if> |
| | | <if test="LocalLongitude != null">LocalLongitude,</if> |
| | | <if test="LocalLatitude != null">LocalLatitude,</if> |
| | | <if test="LocalProvince != null">LocalProvince,</if> |
| | | <if test="LocalCity != null">LocalCity,</if> |
| | | <if test="LocalDistrict != null">LocalDistrict,</if> |
| | | <if test="SendAddress != null">SendAddress,</if> |
| | | <if test="SendLongitude != null">SendLongitude,</if> |
| | | <if test="SendLatitude != null">SendLatitude,</if> |
| | | <if test="SendProvince != null">SendProvince,</if> |
| | | <if test="SendCity != null">SendCity,</if> |
| | | <if test="SendDistrict != null">SendDistrict,</if> |
| | | <if test="BookingPrice != null">BookingPrice,</if> |
| | | <if test="BookingDate != null">BookingDate,</if> |
| | | <if test="Remark != null">Remark,</if> |
| | | <if test="Complaint != null">Complaint,</if> |
| | | <if test="PatientCount != null">PatientCount,</if> |
| | | <if test="BookingKM != null">BookingKM,</if> |
| | | <if test="EscortCode != null">EscortCode,</if> |
| | | <if test="LiftingCode != null">LiftingCode,</if> |
| | | <if test="LiftingFloor != null">LiftingFloor,</if> |
| | | <if test="RequirementCode != null">RequirementCode,</if> |
| | | <if test="TypeCode != null">TypeCode,</if> |
| | | <if test="ThirdPartyResult != null">ThirdPartyResult,</if> |
| | | <if test="ServiceOrdID != null">ServiceOrdID,</if> |
| | | <if test="ServiceOrdNo != null">ServiceOrdNo,</if> |
| | | <if test="CreateTime != null">CreateTime,</if> |
| | | <if test="UpdateTime != null">UpdateTime,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="LinkPerson != null">#{LinkPerson},</if> |
| | | <if test="LinkTel != null">#{LinkTel},</if> |
| | | <if test="AlarmTel != null">#{AlarmTel},</if> |
| | | <if test="PatientName != null">#{PatientName},</if> |
| | | <if test="Sex != null">#{Sex},</if> |
| | | <if test="Age != null">#{Age},</if> |
| | | <if test="Kg != null">#{Kg},</if> |
| | | <if test="Sense != null">#{Sense},</if> |
| | | <if test="LocalAddress != null">#{LocalAddress},</if> |
| | | <if test="LocalLongitude != null">#{LocalLongitude},</if> |
| | | <if test="LocalLatitude != null">#{LocalLatitude},</if> |
| | | <if test="LocalProvince != null">#{LocalProvince},</if> |
| | | <if test="LocalCity != null">#{LocalCity},</if> |
| | | <if test="LocalDistrict != null">#{LocalDistrict},</if> |
| | | <if test="SendAddress != null">#{SendAddress},</if> |
| | | <if test="SendLongitude != null">#{SendLongitude},</if> |
| | | <if test="SendLatitude != null">#{SendLatitude},</if> |
| | | <if test="SendProvince != null">#{SendProvince},</if> |
| | | <if test="SendCity != null">#{SendCity},</if> |
| | | <if test="SendDistrict != null">#{SendDistrict},</if> |
| | | <if test="BookingPrice != null">#{BookingPrice},</if> |
| | | <if test="BookingDate != null">#{BookingDate},</if> |
| | | <if test="Remark != null">#{Remark},</if> |
| | | <if test="Complaint != null">#{Complaint},</if> |
| | | <if test="PatientCount != null">#{PatientCount},</if> |
| | | <if test="BookingKM != null">#{BookingKM},</if> |
| | | <if test="EscortCode != null">#{EscortCode},</if> |
| | | <if test="LiftingCode != null">#{LiftingCode},</if> |
| | | <if test="LiftingFloor != null">#{LiftingFloor},</if> |
| | | <if test="RequirementCode != null">#{RequirementCode},</if> |
| | | <if test="TypeCode != null">#{TypeCode},</if> |
| | | <if test="ThirdPartyResult != null">#{ThirdPartyResult},</if> |
| | | <if test="ServiceOrdID != null">#{ServiceOrdID},</if> |
| | | <if test="ServiceOrdNo != null">#{ServiceOrdNo},</if> |
| | | <if test="CreateTime != null">#{CreateTime},</if> |
| | | <if test="UpdateTime != null">#{UpdateTime},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateTbOrders" parameterType="TbOrders"> |
| | | update tb_orders |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="LinkPerson != null">LinkPerson = #{LinkPerson},</if> |
| | | <if test="LinkTel != null">LinkTel = #{LinkTel},</if> |
| | | <if test="AlarmTel != null">AlarmTel = #{AlarmTel},</if> |
| | | <if test="PatientName != null">PatientName = #{PatientName},</if> |
| | | <if test="Sex != null">Sex = #{Sex},</if> |
| | | <if test="Age != null">Age = #{Age},</if> |
| | | <if test="Kg != null">Kg = #{Kg},</if> |
| | | <if test="Sense != null">Sense = #{Sense},</if> |
| | | <if test="LocalAddress != null">LocalAddress = #{LocalAddress},</if> |
| | | <if test="LocalLongitude != null">LocalLongitude = #{LocalLongitude},</if> |
| | | <if test="LocalLatitude != null">LocalLatitude = #{LocalLatitude},</if> |
| | | <if test="LocalProvince != null">LocalProvince = #{LocalProvince},</if> |
| | | <if test="LocalCity != null">LocalCity = #{LocalCity},</if> |
| | | <if test="LocalDistrict != null">LocalDistrict = #{LocalDistrict},</if> |
| | | <if test="SendAddress != null">SendAddress = #{SendAddress},</if> |
| | | <if test="SendLongitude != null">SendLongitude = #{SendLongitude},</if> |
| | | <if test="SendLatitude != null">SendLatitude = #{SendLatitude},</if> |
| | | <if test="SendProvince != null">SendProvince = #{SendProvince},</if> |
| | | <if test="SendCity != null">SendCity = #{SendCity},</if> |
| | | <if test="SendDistrict != null">SendDistrict = #{SendDistrict},</if> |
| | | <if test="BookingPrice != null">BookingPrice = #{BookingPrice},</if> |
| | | <if test="BookingDate != null">BookingDate = #{BookingDate},</if> |
| | | <if test="Remark != null">Remark = #{Remark},</if> |
| | | <if test="Complaint != null">Complaint = #{Complaint},</if> |
| | | <if test="PatientCount != null">PatientCount = #{PatientCount},</if> |
| | | <if test="BookingKM != null">BookingKM = #{BookingKM},</if> |
| | | <if test="EscortCode != null">EscortCode = #{EscortCode},</if> |
| | | <if test="LiftingCode != null">LiftingCode = #{LiftingCode},</if> |
| | | <if test="LiftingFloor != null">LiftingFloor = #{LiftingFloor},</if> |
| | | <if test="RequirementCode != null">RequirementCode = #{RequirementCode},</if> |
| | | <if test="TypeCode != null">TypeCode = #{TypeCode},</if> |
| | | <if test="ThirdPartyResult != null">ThirdPartyResult = #{ThirdPartyResult},</if> |
| | | <if test="ServiceOrdID != null">ServiceOrdID = #{ServiceOrdID},</if> |
| | | <if test="ServiceOrdNo != null">ServiceOrdNo = #{ServiceOrdNo},</if> |
| | | <if test="CreateTime != null">CreateTime = #{CreateTime},</if> |
| | | <if test="UpdateTime != null">UpdateTime = #{UpdateTime},</if> |
| | | </trim> |
| | | where OrderID = #{OrderID} |
| | | </update> |
| | | |
| | | <delete id="deleteTbOrdersByOrderID" parameterType="Long"> |
| | | delete from tb_orders where OrderID = #{OrderID} |
| | | </delete> |
| | | |
| | | <delete id="deleteTbOrdersByOrderIDs" parameterType="String"> |
| | | delete from tb_orders where OrderID in |
| | | <foreach item="OrderID" collection="array" open="(" separator="," close=")"> |
| | | #{OrderID} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
New file |
| | |
| | | import request from '@/utils/request' |
| | | |
| | | // æ¥è¯¢orderså表 |
| | | export function listOrders(query) { |
| | | return request({ |
| | | url: '/system/orders/list', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | // æ¥è¯¢ordersè¯¦ç» |
| | | export function getOrders(OrderID) { |
| | | return request({ |
| | | url: '/system/orders/' + OrderID, |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | | // æ°å¢orders |
| | | export function addOrders(data) { |
| | | return request({ |
| | | url: '/system/orders', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | // ä¿®æ¹orders |
| | | export function updateOrders(data) { |
| | | return request({ |
| | | url: '/system/orders', |
| | | method: 'put', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | // å é¤orders |
| | | export function delOrders(OrderID) { |
| | | return request({ |
| | | url: '/system/orders/' + OrderID, |
| | | method: 'delete' |
| | | }) |
| | | } |
New file |
| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> |
| | | <el-form-item label="è系人" prop="LinkPerson"> |
| | | <el-input |
| | | v-model="queryParams.LinkPerson" |
| | | placeholder="请è¾å
¥è系人" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="èç³»çµè¯" prop="LinkTel"> |
| | | <el-input |
| | | v-model="queryParams.LinkTel" |
| | | placeholder="请è¾å
¥èç³»çµè¯" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="æ£è
å§å" prop="PatientName"> |
| | | <el-input |
| | | v-model="queryParams.PatientName" |
| | | placeholder="请è¾å
¥æ£è
å§å" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="é¢çº¦æ¶é´" prop="BookingDate"> |
| | | <el-date-picker clearable |
| | | v-model="queryParams.BookingDate" |
| | | type="date" |
| | | value-format="yyyy-MM-dd" |
| | | placeholder="è¯·éæ©é¢çº¦æ¶é´"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">æç´¢</el-button> |
| | | <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">éç½®</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | |
| | | <el-row :gutter="10" class="mb8"> |
| | | <!-- <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | | plain |
| | | icon="el-icon-plus" |
| | | size="mini" |
| | | @click="handleAdd" |
| | | v-hasPermi="['system:orders:add']" |
| | | >æ°å¢</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="success" |
| | | plain |
| | | icon="el-icon-edit" |
| | | size="mini" |
| | | :disabled="single" |
| | | @click="handleUpdate" |
| | | v-hasPermi="['system:orders:edit']" |
| | | >ä¿®æ¹</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="danger" |
| | | plain |
| | | icon="el-icon-delete" |
| | | size="mini" |
| | | :disabled="multiple" |
| | | @click="handleDelete" |
| | | v-hasPermi="['system:orders:remove']" |
| | | >å é¤</el-button> |
| | | </el-col> --> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="warning" |
| | | plain |
| | | icon="el-icon-download" |
| | | size="mini" |
| | | @click="handleExport" |
| | | v-hasPermi="['system:orders:export']" |
| | | >导åº</el-button> |
| | | </el-col> |
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
| | | </el-row> |
| | | |
| | | <el-table v-loading="loading" :data="ordersList" @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="ID" align="center" prop="OrderID" /> |
| | | <el-table-column label="è系人" align="center" prop="LinkPerson" /> |
| | | <el-table-column label="èç³»çµè¯" align="center" prop="LinkTel" /> |
| | | <el-table-column label="åççµè¯" align="center" prop="AlarmTel" /> |
| | | <el-table-column label="æ£è
å§å" align="center" prop="PatientName" /> |
| | | <el-table-column label="æ£è
æ§å«" align="center" prop="Sex" /> |
| | | <el-table-column label="æ£è
å¹´é¾" align="center" prop="Age" /> |
| | | <el-table-column label="æ£è
ä½é" align="center" prop="Kg" /> |
| | | <el-table-column label="æ£è
ææ æè¯" align="center" prop="Sense" /> |
| | | <el-table-column label="ç°åºå°å" align="center" prop="LocalAddress" /> |
| | | <el-table-column label="ç°åºå°åç»åº¦" align="center" prop="LocalLongitude" /> |
| | | <el-table-column label="ç°åºå°å纬度" align="center" prop="LocalLatitude" /> |
| | | <el-table-column label="ç°åºæå¨ç" align="center" prop="LocalProvince" /> |
| | | <el-table-column label="ç°åºæå¨åå¸" align="center" prop="LocalCity" /> |
| | | <el-table-column label="ç°åºæå¨åº" align="center" prop="LocalDistrict" /> |
| | | <el-table-column label="éå¾å°å" align="center" prop="SendAddress" /> |
| | | <el-table-column label="éå¾ç»åº¦" align="center" prop="SendLongitude" /> |
| | | <el-table-column label="éå¾çº¬åº¦" align="center" prop="SendLatitude" /> |
| | | <el-table-column label="é徿å¨ç" align="center" prop="SendProvince" /> |
| | | <el-table-column label="é徿å¨åå¸" align="center" prop="SendCity" /> |
| | | <el-table-column label="é徿å¨åº" align="center" prop="SendDistrict" /> |
| | | <el-table-column label="é¢ä¼°éé¢" align="center" prop="BookingPrice" /> |
| | | <el-table-column label="é¢çº¦æ¶é´" align="center" prop="BookingDate" width="180"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ parseTime(scope.row.BookingDate, '{y}-{m}-{d}') }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="夿³¨" align="center" prop="Remark" /> |
| | | <el-table-column label="ç
人æ
åµ" align="center" prop="Complaint" /> |
| | | <el-table-column label="人æ°" align="center" prop="PatientCount" /> |
| | | <el-table-column label="é¢ä¼°é¢çº¦å
Ž" align="center" prop="BookingKM" /> |
| | | <el-table-column label="æ®éæ¤éï¼çæ¤æ¤é" align="center" prop="EscortCode" /> |
| | | <el-table-column label="æ¥æ¢¯æçµæ¢¯" align="center" prop="LiftingCode" /> |
| | | <el-table-column label="楼å±" align="center" prop="LiftingFloor" /> |
| | | <el-table-column label="çæ¤ï¼éç" align="center" prop="RequirementCode" /> |
| | | <el-table-column label="转è¿ç±»å" align="center" prop="TypeCode" /> |
| | | <el-table-column label="ç¬¬ä¸æ¹è°ç¨ç»æ" align="center" prop="ThirdPartyResult" /> |
| | | <el-table-column label="ç¬¬ä¸æ¹æå¡ID" align="center" prop="ServiceOrdID" /> |
| | | <el-table-column label="ç¬¬ä¸æ¹æå¡åå·" align="center" prop="ServiceOrdNo" /> |
| | | <el-table-column label="å建æ¶é´" align="center" prop="CreateTime" width="180"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ parseTime(scope.row.CreateTime, '{y}-{m}-{d}') }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="æ´æ°æ¶é´" align="center" prop="UpdateTime" width="180"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ parseTime(scope.row.UpdateTime, '{y}-{m}-{d}') }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <!-- <el-table-column label="æä½" align="center" class-name="small-padding fixed-width"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-edit" |
| | | @click="handleUpdate(scope.row)" |
| | | v-hasPermi="['system:orders:edit']" |
| | | >ä¿®æ¹</el-button> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-delete" |
| | | @click="handleDelete(scope.row)" |
| | | v-hasPermi="['system:orders:remove']" |
| | | >å é¤</el-button> |
| | | </template> |
| | | </el-table-column> --> |
| | | </el-table> |
| | | <pagination |
| | | v-show="total>0" |
| | | :total="total" |
| | | :page.sync="queryParams.pageNum" |
| | | :limit.sync="queryParams.pageSize" |
| | | @pagination="getList" |
| | | /> |
| | | |
| | | <!-- æ·»å æä¿®æ¹orderså¯¹è¯æ¡ --> |
| | | <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> |
| | | <el-form ref="form" :model="form" :rules="rules" label-width="80px"> |
| | | <el-form-item label="è系人" prop="LinkPerson"> |
| | | <el-input v-model="form.LinkPerson" placeholder="请è¾å
¥è系人" /> |
| | | </el-form-item> |
| | | <el-form-item label="èç³»çµè¯" prop="LinkTel"> |
| | | <el-input v-model="form.LinkTel" placeholder="请è¾å
¥èç³»çµè¯" /> |
| | | </el-form-item> |
| | | <el-form-item label="åççµè¯,æ¥çµçµè¯" prop="AlarmTel"> |
| | | <el-input v-model="form.AlarmTel" placeholder="请è¾å
¥åççµè¯,æ¥çµçµè¯" /> |
| | | </el-form-item> |
| | | <el-form-item label="æ£è
å§å" prop="PatientName"> |
| | | <el-input v-model="form.PatientName" placeholder="请è¾å
¥æ£è
å§å" /> |
| | | </el-form-item> |
| | | <el-form-item label="æ£è
å¹´é¾" prop="Age"> |
| | | <el-input v-model="form.Age" placeholder="请è¾å
¥æ£è
å¹´é¾" /> |
| | | </el-form-item> |
| | | <el-form-item label="æ£è
ä½é" prop="Kg"> |
| | | <el-input v-model="form.Kg" placeholder="请è¾å
¥æ£è
ä½é" /> |
| | | </el-form-item> |
| | | <el-form-item label="æ£è
ææ æè¯" prop="Sense"> |
| | | <el-input v-model="form.Sense" placeholder="请è¾å
¥æ£è
ææ æè¯" /> |
| | | </el-form-item> |
| | | <el-form-item label="ç°åºå°å" prop="LocalAddress"> |
| | | <el-input v-model="form.LocalAddress" placeholder="请è¾å
¥ç°åºå°å" /> |
| | | </el-form-item> |
| | | <el-form-item label="ç°åºå°åç»åº¦" prop="LocalLongitude"> |
| | | <el-input v-model="form.LocalLongitude" placeholder="请è¾å
¥ç°åºå°åç»åº¦" /> |
| | | </el-form-item> |
| | | <el-form-item label="ç°åºå°å纬度" prop="LocalLatitude"> |
| | | <el-input v-model="form.LocalLatitude" placeholder="请è¾å
¥ç°åºå°å纬度" /> |
| | | </el-form-item> |
| | | <el-form-item label="ç°åºæå¨ç" prop="LocalProvince"> |
| | | <el-input v-model="form.LocalProvince" placeholder="请è¾å
¥ç°åºæå¨ç" /> |
| | | </el-form-item> |
| | | <el-form-item label="ç°åºæå¨åå¸" prop="LocalCity"> |
| | | <el-input v-model="form.LocalCity" placeholder="请è¾å
¥ç°åºæå¨åå¸" /> |
| | | </el-form-item> |
| | | <el-form-item label="ç°åºæå¨åº" prop="LocalDistrict"> |
| | | <el-input v-model="form.LocalDistrict" placeholder="请è¾å
¥ç°åºæå¨åº" /> |
| | | </el-form-item> |
| | | <el-form-item label="éå¾å°å" prop="SendAddress"> |
| | | <el-input v-model="form.SendAddress" placeholder="请è¾å
¥éå¾å°å" /> |
| | | </el-form-item> |
| | | <el-form-item label="éå¾ç»åº¦" prop="SendLongitude"> |
| | | <el-input v-model="form.SendLongitude" placeholder="请è¾å
¥éå¾ç»åº¦" /> |
| | | </el-form-item> |
| | | <el-form-item label="éå¾çº¬åº¦" prop="SendLatitude"> |
| | | <el-input v-model="form.SendLatitude" placeholder="请è¾å
¥éå¾çº¬åº¦" /> |
| | | </el-form-item> |
| | | <el-form-item label="é徿å¨ç" prop="SendProvince"> |
| | | <el-input v-model="form.SendProvince" placeholder="请è¾å
¥é徿å¨ç" /> |
| | | </el-form-item> |
| | | <el-form-item label="é徿å¨åå¸" prop="SendCity"> |
| | | <el-input v-model="form.SendCity" placeholder="请è¾å
¥é徿å¨åå¸" /> |
| | | </el-form-item> |
| | | <el-form-item label="é徿å¨åº" prop="SendDistrict"> |
| | | <el-input v-model="form.SendDistrict" placeholder="请è¾å
¥é徿å¨åº" /> |
| | | </el-form-item> |
| | | <el-form-item label="é¢ä¼°éé¢" prop="BookingPrice"> |
| | | <el-input v-model="form.BookingPrice" placeholder="请è¾å
¥é¢ä¼°éé¢" /> |
| | | </el-form-item> |
| | | <el-form-item label="é¢çº¦æ¶é´" prop="BookingDate"> |
| | | <el-date-picker clearable |
| | | v-model="form.BookingDate" |
| | | type="date" |
| | | value-format="yyyy-MM-dd" |
| | | placeholder="è¯·éæ©é¢çº¦æ¶é´"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item label="夿³¨" prop="Remark"> |
| | | <el-input v-model="form.Remark" type="textarea" placeholder="请è¾å
¥å
容" /> |
| | | </el-form-item> |
| | | <el-form-item label="ç
人æ
åµ" prop="Complaint"> |
| | | <el-input v-model="form.Complaint" type="textarea" placeholder="请è¾å
¥å
容" /> |
| | | </el-form-item> |
| | | <el-form-item label="人æ°" prop="PatientCount"> |
| | | <el-input v-model="form.PatientCount" placeholder="请è¾å
¥äººæ°" /> |
| | | </el-form-item> |
| | | <el-form-item label="é¢ä¼°é¢çº¦å
Ž" prop="BookingKM"> |
| | | <el-input v-model="form.BookingKM" placeholder="请è¾å
¥é¢ä¼°é¢çº¦å
Ž" /> |
| | | </el-form-item> |
| | | <el-form-item label="æ®éæ¤éï¼çæ¤æ¤é" prop="EscortCode"> |
| | | <el-input v-model="form.EscortCode" placeholder="请è¾å
¥æ®éæ¤éï¼çæ¤æ¤é" /> |
| | | </el-form-item> |
| | | <el-form-item label="æ¥æ¢¯æçµæ¢¯" prop="LiftingCode"> |
| | | <el-input v-model="form.LiftingCode" placeholder="请è¾å
¥æ¥æ¢¯æçµæ¢¯" /> |
| | | </el-form-item> |
| | | <el-form-item label="楼å±" prop="LiftingFloor"> |
| | | <el-input v-model="form.LiftingFloor" placeholder="请è¾å
¥æ¥¼å±" /> |
| | | </el-form-item> |
| | | <el-form-item label="çæ¤ï¼éç(坿ç
§ç¬¬ä¸æ¹çåå
¸æ°å¢æèµå¼)" prop="RequirementCode"> |
| | | <el-input v-model="form.RequirementCode" placeholder="请è¾å
¥çæ¤ï¼éç(坿ç
§ç¬¬ä¸æ¹çåå
¸æ°å¢æèµå¼)" /> |
| | | </el-form-item> |
| | | <el-form-item label="转è¿ç±»å" prop="TypeCode"> |
| | | <el-input v-model="form.TypeCode" placeholder="请è¾å
¥è½¬è¿ç±»å" /> |
| | | </el-form-item> |
| | | <el-form-item label="ç¬¬ä¸æ¹è°ç¨æ¥å£è¿åç»æ,1-æåï¼2-失败" prop="ThirdPartyResult"> |
| | | <el-input v-model="form.ThirdPartyResult" placeholder="请è¾å
¥ç¬¬ä¸æ¹è°ç¨æ¥å£è¿åç»æ,1-æåï¼2-失败" /> |
| | | </el-form-item> |
| | | <el-form-item label="ç¬¬ä¸æ¹æå¡ID" prop="ServiceOrdID"> |
| | | <el-input v-model="form.ServiceOrdID" type="textarea" placeholder="请è¾å
¥å
容" /> |
| | | </el-form-item> |
| | | <el-form-item label="ç¬¬ä¸æ¹æå¡åå·" prop="ServiceOrdNo"> |
| | | <el-input v-model="form.ServiceOrdNo" type="textarea" placeholder="请è¾å
¥å
容" /> |
| | | </el-form-item> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="submitForm">ç¡® å®</el-button> |
| | | <el-button @click="cancel">å æ¶</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import { listOrders, getOrders, delOrders, addOrders, updateOrders } from "@/api/system/orders"; |
| | | |
| | | export default { |
| | | name: "Orders", |
| | | data() { |
| | | return { |
| | | // é®ç½©å± |
| | | loading: true, |
| | | // é䏿°ç» |
| | | ids: [], |
| | | // éå个ç¦ç¨ |
| | | single: true, |
| | | // éå¤ä¸ªç¦ç¨ |
| | | multiple: true, |
| | | // æ¾ç¤ºæç´¢æ¡ä»¶ |
| | | showSearch: true, |
| | | // æ»æ¡æ° |
| | | total: 0, |
| | | // ordersè¡¨æ ¼æ°æ® |
| | | ordersList: [], |
| | | // å¼¹åºå±æ é¢ |
| | | title: "", |
| | | // æ¯å¦æ¾ç¤ºå¼¹åºå± |
| | | open: false, |
| | | // æ¥è¯¢åæ° |
| | | queryParams: { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | LinkPerson: null, |
| | | LinkTel: null, |
| | | AlarmTel: null, |
| | | PatientName: null, |
| | | Sex: null, |
| | | Age: null, |
| | | Kg: null, |
| | | Sense: null, |
| | | LocalAddress: null, |
| | | LocalLongitude: null, |
| | | LocalLatitude: null, |
| | | LocalProvince: null, |
| | | LocalCity: null, |
| | | LocalDistrict: null, |
| | | SendAddress: null, |
| | | SendLongitude: null, |
| | | SendLatitude: null, |
| | | SendProvince: null, |
| | | SendCity: null, |
| | | SendDistrict: null, |
| | | BookingPrice: null, |
| | | BookingDate: null, |
| | | Remark: null, |
| | | Complaint: null, |
| | | PatientCount: null, |
| | | BookingKM: null, |
| | | EscortCode: null, |
| | | LiftingCode: null, |
| | | LiftingFloor: null, |
| | | RequirementCode: null, |
| | | TypeCode: null, |
| | | ThirdPartyResult: null, |
| | | ServiceOrdID: null, |
| | | ServiceOrdNo: null, |
| | | CreateTime: null, |
| | | UpdateTime: null |
| | | }, |
| | | // 表ååæ° |
| | | form: {}, |
| | | // è¡¨åæ ¡éª |
| | | rules: { |
| | | } |
| | | }; |
| | | }, |
| | | created() { |
| | | this.getList(); |
| | | }, |
| | | methods: { |
| | | /** æ¥è¯¢orderså表 */ |
| | | getList() { |
| | | this.loading = true; |
| | | listOrders(this.queryParams).then(response => { |
| | | this.ordersList = response.rows; |
| | | this.total = response.total; |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | // åæ¶æé® |
| | | cancel() { |
| | | this.open = false; |
| | | this.reset(); |
| | | }, |
| | | // 表åéç½® |
| | | reset() { |
| | | this.form = { |
| | | OrderID: null, |
| | | LinkPerson: null, |
| | | LinkTel: null, |
| | | AlarmTel: null, |
| | | PatientName: null, |
| | | Sex: null, |
| | | Age: null, |
| | | Kg: null, |
| | | Sense: null, |
| | | LocalAddress: null, |
| | | LocalLongitude: null, |
| | | LocalLatitude: null, |
| | | LocalProvince: null, |
| | | LocalCity: null, |
| | | LocalDistrict: null, |
| | | SendAddress: null, |
| | | SendLongitude: null, |
| | | SendLatitude: null, |
| | | SendProvince: null, |
| | | SendCity: null, |
| | | SendDistrict: null, |
| | | BookingPrice: null, |
| | | BookingDate: null, |
| | | Remark: null, |
| | | Complaint: null, |
| | | PatientCount: null, |
| | | BookingKM: null, |
| | | EscortCode: null, |
| | | LiftingCode: null, |
| | | LiftingFloor: null, |
| | | RequirementCode: null, |
| | | TypeCode: null, |
| | | ThirdPartyResult: null, |
| | | ServiceOrdID: null, |
| | | ServiceOrdNo: null, |
| | | CreateTime: null, |
| | | UpdateTime: null |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | | /** æç´¢æé®æä½ */ |
| | | handleQuery() { |
| | | this.queryParams.pageNum = 1; |
| | | this.getList(); |
| | | }, |
| | | /** éç½®æé®æä½ */ |
| | | resetQuery() { |
| | | this.resetForm("queryForm"); |
| | | this.handleQuery(); |
| | | }, |
| | | // å¤éæ¡é䏿°æ® |
| | | handleSelectionChange(selection) { |
| | | this.ids = selection.map(item => item.OrderID) |
| | | this.single = selection.length!==1 |
| | | this.multiple = !selection.length |
| | | }, |
| | | /** æ°å¢æé®æä½ */ |
| | | handleAdd() { |
| | | this.reset(); |
| | | this.open = true; |
| | | this.title = "æ·»å orders"; |
| | | }, |
| | | /** ä¿®æ¹æé®æä½ */ |
| | | handleUpdate(row) { |
| | | this.reset(); |
| | | const OrderID = row.OrderID || this.ids |
| | | getOrders(OrderID).then(response => { |
| | | this.form = response.data; |
| | | this.open = true; |
| | | this.title = "ä¿®æ¹orders"; |
| | | }); |
| | | }, |
| | | /** æäº¤æé® */ |
| | | submitForm() { |
| | | this.$refs["form"].validate(valid => { |
| | | if (valid) { |
| | | if (this.form.OrderID != null) { |
| | | updateOrders(this.form).then(response => { |
| | | this.$modal.msgSuccess("ä¿®æ¹æå"); |
| | | this.open = false; |
| | | this.getList(); |
| | | }); |
| | | } else { |
| | | addOrders(this.form).then(response => { |
| | | this.$modal.msgSuccess("æ°å¢æå"); |
| | | this.open = false; |
| | | this.getList(); |
| | | }); |
| | | } |
| | | } |
| | | }); |
| | | }, |
| | | /** å é¤æé®æä½ */ |
| | | handleDelete(row) { |
| | | const OrderIDs = row.OrderID || this.ids; |
| | | this.$modal.confirm('æ¯å¦ç¡®è®¤å é¤ordersç¼å·ä¸º"' + OrderIDs + '"çæ°æ®é¡¹ï¼').then(function() { |
| | | return delOrders(OrderIDs); |
| | | }).then(() => { |
| | | this.getList(); |
| | | this.$modal.msgSuccess("å 餿å"); |
| | | }).catch(() => {}); |
| | | }, |
| | | /** å¯¼åºæé®æä½ */ |
| | | handleExport() { |
| | | this.download('system/orders/export', { |
| | | ...this.queryParams |
| | | }, `orders_${new Date().getTime()}.xlsx`) |
| | | } |
| | | } |
| | | }; |
| | | </script> |
New file |
| | |
| | | -- èå SQL |
| | | insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) |
| | | values('订åè®°å½', '2001', '1', 'orders', 'system/orders/index', 1, 0, 'C', '0', '0', 'system:orders:list', '#', 'admin', sysdate(), '', null, 'ordersèå'); |
| | | |
| | | -- æé®ç¶èåID |
| | | SELECT @parentId := LAST_INSERT_ID(); |
| | | |
| | | -- æé® SQL |
| | | insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) |
| | | values('订åè®°å½æ¥è¯¢', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'system:orders:query', '#', 'admin', sysdate(), '', null, ''); |
| | | |
| | | insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) |
| | | values('订åè®°å½æ°å¢', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'system:orders:add', '#', 'admin', sysdate(), '', null, ''); |
| | | |
| | | insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) |
| | | values('订åè®°å½ä¿®æ¹', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'system:orders:edit', '#', 'admin', sysdate(), '', null, ''); |
| | | |
| | | insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) |
| | | values('订åè®°å½å é¤', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'system:orders:remove', '#', 'admin', sysdate(), '', null, ''); |
| | | |
| | | insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) |
| | | values('订åè®°å½å¯¼åº', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'system:orders:export', '#', 'admin', sysdate(), '', null, ''); |
New file |
| | |
| | | /* |
| | | Navicat Premium Data Transfer |
| | | |
| | | Source Server : 966120 |
| | | Source Server Type : MySQL |
| | | Source Server Version : 50521 (5.5.21) |
| | | Source Host : 120.25.98.119:3307 |
| | | Source Schema : ruoyi |
| | | |
| | | Target Server Type : MySQL |
| | | Target Server Version : 50521 (5.5.21) |
| | | File Encoding : 65001 |
| | | |
| | | Date: 01/05/2025 11:46:45 |
| | | */ |
| | | |
| | | SET NAMES utf8mb4; |
| | | SET FOREIGN_KEY_CHECKS = 0; |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for tb_orders |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `tb_orders`; |
| | | CREATE TABLE `tb_orders` ( |
| | | `OrderID` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '广交ç订å IDï¼ç³»ç»å¯ä¸å建订å', |
| | | `LinkPerson` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'è系人', |
| | | `LinkTel` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'èç³»çµè¯', |
| | | `AlarmTel` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'åççµè¯,æ¥çµçµè¯', |
| | | `PatientName` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'æ£è
å§å', |
| | | `Sex` int(1) NULL DEFAULT NULL COMMENT 'æ£è
æ§å«', |
| | | `Age` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'æ£è
å¹´é¾', |
| | | `Kg` varchar(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'æ£è
ä½é', |
| | | `Sense` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'æ£è
ææ æè¯', |
| | | `LocalAddress` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'ç°åºå°å', |
| | | `LocalLongitude` double NULL DEFAULT NULL COMMENT 'ç°åºå°åç»åº¦ï¼ç®åæ¯ gcj02 åæ ç³»ï¼', |
| | | `LocalLatitude` double NULL DEFAULT NULL COMMENT 'ç°åºå°å纬度', |
| | | `LocalProvince` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'ç°åºæå¨ç', |
| | | `LocalCity` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'ç°åºæå¨åå¸', |
| | | `LocalDistrict` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'ç°åºæå¨åº', |
| | | `SendAddress` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'éå¾å°å', |
| | | `SendLongitude` double NULL DEFAULT NULL COMMENT 'éå¾ç»åº¦', |
| | | `SendLatitude` double NULL DEFAULT NULL COMMENT 'éå¾çº¬åº¦', |
| | | `SendProvince` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'é徿å¨ç', |
| | | `SendCity` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'é徿å¨åå¸', |
| | | `SendDistrict` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'é徿å¨åº', |
| | | `BookingPrice` decimal(10, 2) NULL DEFAULT NULL COMMENT 'é¢ä¼°éé¢', |
| | | `BookingDate` datetime NULL DEFAULT NULL COMMENT 'é¢çº¦æ¶é´ï¼æ¶é´ç±»åï¼ç²¾ç¡®å°å°æ¶ï¼', |
| | | `Remark` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL COMMENT '夿³¨', |
| | | `Complaint` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL COMMENT 'ç
人æ
åµ', |
| | | `PatientCount` int(11) NULL DEFAULT NULL COMMENT '人æ°', |
| | | `BookingKM` double NULL DEFAULT NULL COMMENT 'é¢ä¼°é¢çº¦å
Ž', |
| | | `EscortCode` int(11) NULL DEFAULT NULL COMMENT 'æ®éæ¤éï¼çæ¤æ¤éï¼å¯æç
§ç¬¬ä¸æ¹çåå
¸æ°å¢æèµå¼ï¼', |
| | | `LiftingCode` int(11) NULL DEFAULT NULL COMMENT 'æ¥æ¢¯æçµæ¢¯', |
| | | `LiftingFloor` int(11) NULL DEFAULT NULL COMMENT '楼å±', |
| | | `RequirementCode` int(11) NULL DEFAULT NULL COMMENT 'çæ¤ï¼éç(坿ç
§ç¬¬ä¸æ¹çåå
¸æ°å¢æèµå¼)', |
| | | `TypeCode` int(11) NULL DEFAULT NULL COMMENT '转è¿ç±»åï¼å¸å
ï¼å¸å¤ï¼çå¤çï¼å¯æç
§ç¬¬ä¸æ¹çåå
¸æ°å¢æèµå¼ï¼', |
| | | `ThirdPartyResult` int(1) NULL DEFAULT NULL COMMENT 'ç¬¬ä¸æ¹è°ç¨æ¥å£è¿åç»æ,1-æåï¼2-失败', |
| | | `ServiceOrdID` varchar(500) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'ç¬¬ä¸æ¹æå¡ID', |
| | | `ServiceOrdNo` varchar(500) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'ç¬¬ä¸æ¹æå¡åå·', |
| | | `CreateTime` datetime NULL DEFAULT NULL COMMENT 'å建æ¶é´', |
| | | `UpdateTime` datetime NULL DEFAULT NULL COMMENT 'æ´æ°æ¶é´', |
| | | PRIMARY KEY (`OrderID`) USING BTREE |
| | | ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = COMPACT; |
| | | |
| | | SET FOREIGN_KEY_CHECKS = 1; |