md
This commit is contained in:
parent
cd8c5bca42
commit
0d5b6097ae
@ -73,6 +73,16 @@ public class EmisWaybillController extends BaseController
|
||||
util.exportExcel(response, list, "运单列表数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取运单列表详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('emis:emisWaybill:query')")
|
||||
@GetMapping("/getInfoByBillCode")
|
||||
public AjaxResult getInfoByBillCode(String billCode)
|
||||
{
|
||||
return AjaxResult.success(emisWaybillService.selectEmisWaybillByBillCode(billCode));
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取运单列表详细信息
|
||||
*/
|
||||
|
||||
@ -21,6 +21,9 @@ import com.xdadan.erp.emis.domain.EmisWaybill;
|
||||
*/
|
||||
public interface EmisWaybillMapper extends BaseMapper<EmisWaybill>
|
||||
{
|
||||
|
||||
public EmisWaybill selectEmisWaybillByBillCode(String billCode);
|
||||
|
||||
/**
|
||||
* 主键查询
|
||||
* @param id
|
||||
|
||||
@ -20,6 +20,14 @@ import com.xdadan.erp.emis.domain.EmisWaybill;
|
||||
*/
|
||||
public interface IEmisWaybillService
|
||||
{
|
||||
|
||||
/**
|
||||
* 根据运单查询
|
||||
* @param billCode
|
||||
* @return
|
||||
*/
|
||||
public EmisWaybill selectEmisWaybillByBillCode(String billCode);
|
||||
|
||||
/**
|
||||
* 主键查询
|
||||
* @param id
|
||||
|
||||
@ -31,6 +31,21 @@ public class EmisWaybillServiceImpl implements IEmisWaybillService
|
||||
@Autowired
|
||||
private EmisWaybillMapper emisWaybillMapper;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 精准查询 查询运单列表 by billCode
|
||||
*
|
||||
* @param billCode 运单列表主键
|
||||
* @return 运单列表
|
||||
*/
|
||||
@Override
|
||||
public EmisWaybill selectEmisWaybillByBillCode(String billCode)
|
||||
{
|
||||
return emisWaybillMapper.selectEmisWaybillByBillCode(billCode);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 查询运单列表
|
||||
*
|
||||
|
||||
@ -350,6 +350,12 @@
|
||||
where a.id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="selectEmisWaybillByBillCode" parameterType="String" resultMap="EmisWaybillResult">
|
||||
select id, order_sn, cust_order_id, bill_code, bill_code_sub, order_status, order_type, order_date, user_id, customer_code, customer_name, receive_customer_code, receive_customer_name, third_customer_code, third_customer_name, open_id, receive_name, receive_company, receive_mobile, receive_tel, receive_country, receive_province, receive_city, receive_county, receive_town, receive_address, receive_postcode, send_name, send_company, send_mobile, send_tel, send_country, send_province, send_city, send_county, send_town, send_address, send_postcode, payment_type, cust_no, calc_fee_type, trans_line_type, product_type, time_type, meter_type, customs_clear, customs_eclaration, estimate_date, pack_type, dispatch_method, pickup_method, pick_start_date, pick_finish_date, pick_fail_reason, into_warehouse_code, into_warehouse_name, into_warehouse_address, into_warehouse_contact, into_warehouse_phone, into_warehouse_bill_code, customer_delivery_begin_time, customer_delivery_end_time, goods_type, goods_info, total_weight, total_volume, parcel_qty, bill_weight, volume_weight, currency, settlement_weight, fee_weight, freight, bl_over_long, bl_bill, bl_over_weight, over_weight_number, bl_bill_text, fee_remaker, third_code, real_value, bl_insure, insure_value, insure_value_currency, insure_fee_currency, insure_fee, insure_remark, insure_site, insure_site_code, insure_date, bl_print, print_man, print_man_code, print_site, print_date, print_count, bl_disp_fd, disp_fd_date, disp_fd_reason, transfer_code, transfer_billcode, current_site_code, next_site_code, last_site_code, register_site, register_site_code, register_date, register_man, register_man_code, take_piece_employee, take_piece_employee_code, send_site, send_site_code, send_date, dispatch_man, dispatch_man_code, dispatch_date, dispatch_site, dispatch_site_code, produce_bill_date, produce_bill_site, produce_bill_site_code, produce_bill_man, produce_bill_man_code, destination, destination_code, destination_province, destination_city, destination_county, dispatch_underling_site, dispatch_underling_site_code, destination_center, destination_center_code, market_man, market_man_code, payee, salesmen, operate_employee, operate_employee_code, bl_is_question, problem_cause, bl_message, bl_accept_message, bl_gen_subbill, sign_man, sign_man_code, sign_site, sign_site_code, sign_date, bill_pic_send_rmk, bill_pic_dispatch_rmk, timezone_offset, modifier, modifier_code, modify_date, modify_site, modify_site_code, del_flag, create_by, create_time, update_by, update_time, remark
|
||||
from emis_waybill a
|
||||
where a.bill_code = #{billCode}
|
||||
</select>
|
||||
|
||||
<insert id="insertEmisWaybill" parameterType="EmisWaybill">
|
||||
insert into emis_waybill
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user