
20 changed files with 302 additions and 80 deletions
@ -0,0 +1,42 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.base.api.baseshuntinginvoicingapply; |
|||
|
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
@ApiModel(value = "调车申请表 查询条件", description = "调车申请表 查询条件") |
|||
public class BaseShuntingInvoicingByVehQuery implements Query { |
|||
|
|||
@ApiModelProperty("调出分公司sid") |
|||
private String callOutOrgSid; // 调出分公司sid
|
|||
@ApiModelProperty("调入分公司sid") |
|||
private String callInOrgSid; // 调入分公司sid
|
|||
} |
@ -1,13 +1,43 @@ |
|||
<?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.yxt.anrui.base.biz.baseshuntinginvoicinapplyeveh.BaseShuntingInvoicinApplyeVehMapper"> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" resultType="com.yxt.anrui.base.api.baseshuntinginvoicinapplyeveh.BaseShuntingInvoicinApplyeVehVo"> |
|||
SELECT * FROM base_shunting_invoicin_applye_veh <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
|
|||
<select id="selectListAllVo" resultType="com.yxt.anrui.base.api.baseshuntinginvoicinapplyeveh.BaseShuntingInvoicinApplyeVehVo"> |
|||
SELECT * FROM base_shunting_invoicin_applye_veh <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" |
|||
resultType="com.yxt.anrui.base.api.baseshuntinginvoicinapplyeveh.BaseShuntingInvoicinApplyeVehVo"> |
|||
SELECT * FROM base_shunting_invoicin_applye_veh |
|||
<where> |
|||
${ew.sqlSegment} |
|||
</where> |
|||
</select> |
|||
|
|||
<select id="selectListAllVo" |
|||
resultType="com.yxt.anrui.base.api.baseshuntinginvoicinapplyeveh.BaseShuntingInvoicinApplyeVehVo"> |
|||
SELECT * FROM base_shunting_invoicin_applye_veh |
|||
<where> |
|||
${ew.sqlSegment} |
|||
</where> |
|||
</select> |
|||
|
|||
<select id="fetchByMainSid" |
|||
resultType="com.yxt.anrui.base.api.baseshuntinginvoicinapplyeveh.BaseShuntingInvoicinApplyeVehDetailsVo"> |
|||
SELECT bsiav.sid, |
|||
bipv.`mainSid`, |
|||
bipv.`vehicleAlias`, |
|||
bipv.`configSid`, |
|||
bipv.`configName`, |
|||
bsiav.`certificate`, |
|||
bipv.`vinNo`, |
|||
bipv.`witPinMoney`, |
|||
bipv.invoiceTypeKey, |
|||
bipv.invoiceTypeValue, |
|||
bsiav.invoicinMoney, |
|||
bsiav.invoicinCompanySid, |
|||
bsiav.invoicinCompanyName, |
|||
bsiav.`remarks` |
|||
FROM base_shunting_invoicin_applye_veh bsiav |
|||
LEFT JOIN base_internal_purchase_vehicle bipv |
|||
ON bsiav.`purchaseSid` = bipv.`sid` |
|||
WHERE mainSid = #{sid} |
|||
</select> |
|||
</mapper> |
Loading…
Reference in new issue