This commit is contained in:
linfso 2025-05-05 13:01:44 +08:00
parent 29439280bd
commit ae6cbc46dc
2 changed files with 5 additions and 2 deletions

View File

@ -15,6 +15,7 @@ import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.xdadan.erp.emis.domain.EmisSettlePayRel;
import com.xdadan.erp.emis.utils.WaybillHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
@ -58,6 +59,8 @@ public class EmisSettleInvoiceRelController extends BaseController
public TableDataInfo list(EmisSettleInvoiceRel emisSettleInvoiceRel)
{
startPage();
emisSettleInvoiceRel.setApplySeqNo(WaybillHelper.formatQueryValue(emisSettleInvoiceRel.getApplySeqNo()));
List<EmisSettleInvoiceRel> list = emisSettleInvoiceRelService.selectEmisSettleInvoiceRelList(emisSettleInvoiceRel);
return getDataTable(list);
}

View File

@ -29,8 +29,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
del_flag='0'
<if test="id != null "> and id = #{id}</if>
<if test="applySeqNo != null and applySeqNo != ''"> and apply_seq_no=#{applySeqNo}</if>
<if test="payId != null and payId != ''"> and pay_id like concat('%', #{payId}, '%')</if>
<if test="applySeqNo != null and applySeqNo != ''"> and FIND_IN_SET(apply_seq_no, #{applySeqNo} )</if>
<if test="payId != null and payId != ''"> and pay_id=#{payId}</if>
<if test="billNo != null and billNo != ''"> and bill_no like concat('%', #{billNo}, '%')</if>
<if test="money != null "> and money = #{money}</if>
<if test="delFlag != null and delFlag != ''"> and del_flag like concat('%', #{delFlag}, '%')</if>