md
This commit is contained in:
parent
12b35c0052
commit
28c6854731
@ -92,6 +92,8 @@ public class EmisSettleBillController extends BaseController
|
|||||||
{
|
{
|
||||||
startPage();
|
startPage();
|
||||||
|
|
||||||
|
setPrivParams(emisSettleBill);
|
||||||
|
|
||||||
String billCodeStr = MapUtil.getStr(emisSettleBill.getParams(),"billCode");
|
String billCodeStr = MapUtil.getStr(emisSettleBill.getParams(),"billCode");
|
||||||
if(!StringUtils.isEmpty(billCodeStr)){
|
if(!StringUtils.isEmpty(billCodeStr)){
|
||||||
emisSettleBill.getParams().put("billCode",WaybillHelper.formatQueryValue(billCodeStr));
|
emisSettleBill.getParams().put("billCode",WaybillHelper.formatQueryValue(billCodeStr));
|
||||||
|
|||||||
@ -60,6 +60,9 @@ public class EmisSettleInvoiceChRecordController extends BaseController
|
|||||||
public TableDataInfo list(EmisSettleInvoiceChRecord emisSettleInvoiceChRecord)
|
public TableDataInfo list(EmisSettleInvoiceChRecord emisSettleInvoiceChRecord)
|
||||||
{
|
{
|
||||||
startPage();
|
startPage();
|
||||||
|
|
||||||
|
setPrivParams(emisSettleInvoiceChRecord);
|
||||||
|
|
||||||
List<EmisSettleInvoiceChRecord> list = emisSettleInvoiceChRecordService.selectEmisSettleInvoiceChRecordList(emisSettleInvoiceChRecord);
|
List<EmisSettleInvoiceChRecord> list = emisSettleInvoiceChRecordService.selectEmisSettleInvoiceChRecordList(emisSettleInvoiceChRecord);
|
||||||
return getDataTable(list);
|
return getDataTable(list);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -59,6 +59,9 @@ public class EmisSettleInvoiceRecordController extends BaseController
|
|||||||
public TableDataInfo list(EmisSettleInvoiceRecord emisSettleInvoiceRecord)
|
public TableDataInfo list(EmisSettleInvoiceRecord emisSettleInvoiceRecord)
|
||||||
{
|
{
|
||||||
startPage();
|
startPage();
|
||||||
|
|
||||||
|
setPrivParams(emisSettleInvoiceRecord);
|
||||||
|
|
||||||
List<EmisSettleInvoiceRecord> list = emisSettleInvoiceRecordService.selectEmisSettleInvoiceRecordList(emisSettleInvoiceRecord);
|
List<EmisSettleInvoiceRecord> list = emisSettleInvoiceRecordService.selectEmisSettleInvoiceRecordList(emisSettleInvoiceRecord);
|
||||||
return getDataTable(list);
|
return getDataTable(list);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -61,6 +61,9 @@ public class EmisSettlePayRecordController extends BaseController
|
|||||||
public TableDataInfo list(EmisSettlePayRecord emisSettlePayRecord)
|
public TableDataInfo list(EmisSettlePayRecord emisSettlePayRecord)
|
||||||
{
|
{
|
||||||
startPage();
|
startPage();
|
||||||
|
|
||||||
|
setPrivParams(emisSettlePayRecord);
|
||||||
|
|
||||||
List<EmisSettlePayRecord> list = emisSettlePayRecordService.selectEmisSettlePayRecordList(emisSettlePayRecord);
|
List<EmisSettlePayRecord> list = emisSettlePayRecordService.selectEmisSettlePayRecordList(emisSettlePayRecord);
|
||||||
return getDataTable(list);
|
return getDataTable(list);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -103,6 +103,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="updateTime != null "> and update_time = #{updateTime}</if>
|
<if test="updateTime != null "> and update_time = #{updateTime}</if>
|
||||||
<if test="createSite != null and createSite != ''"> and create_site like concat('%', #{createSite}, '%')</if>
|
<if test="createSite != null and createSite != ''"> and create_site like concat('%', #{createSite}, '%')</if>
|
||||||
<if test="updateSite != null and updateSite != ''"> and update_site like concat('%', #{updateSite}, '%')</if>
|
<if test="updateSite != null and updateSite != ''"> and update_site like concat('%', #{updateSite}, '%')</if>
|
||||||
|
|
||||||
|
<if test="params.privSiteCode != null and params.privSiteCode != '88888'">
|
||||||
|
and settle_bill_no in(
|
||||||
|
select bill_no from emis_settle_sub_bill b where del_flag='0'
|
||||||
|
and (
|
||||||
|
b.salesmen=#{params.privEmpName}
|
||||||
|
or b.payee=#{params.privEmpName}
|
||||||
|
or b.salesmen in(
|
||||||
|
select salesmen from emis_salesmen_rel where sales_ass=#{params.privEmpName}
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
</if>
|
||||||
</where>
|
</where>
|
||||||
order by create_time desc
|
order by create_time desc
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user