Revert "修改无上及权限不能查询"

This reverts commit f13a9a26
release
yishiqihuasheng 2 years ago
parent f13a9a2647
commit 7048c6694f
  1. 9
      dxhy-extend/src/main/java/com/dxhy/extend/controller/ExtInvoicePoolController.java
  2. 13
      dxhy-extend/src/main/resources/mapper/ExtInvoicePoolMapper.xml

@ -65,10 +65,6 @@ public class ExtInvoicePoolController extends AbstractController {
// return ResponseEntity.ok(R.ok().put("data", "")); // return ResponseEntity.ok(R.ok().put("data", ""));
// } // }
// } // }
String gfsh = (String)pramsMap.get("gfsh");
if (!org.apache.commons.lang.StringUtils.isNotBlank(gfsh)){
pramsMap.put("sign","88");
}
gfshList = UserInfoUtil.getGfshAll(getUserInfo().getOrg()); gfshList = UserInfoUtil.getGfshAll(getUserInfo().getOrg());
if (gfshList.size() == 0) { if (gfshList.size() == 0) {
return ResponseEntity.ok(R.ok().put("data", "")); return ResponseEntity.ok(R.ok().put("data", ""));
@ -223,11 +219,6 @@ public class ExtInvoicePoolController extends AbstractController {
// return ResponseEntity.ok(R.ok().put("data", "")); // return ResponseEntity.ok(R.ok().put("data", ""));
// } // }
// } // }
String gfsh = (String)pramsMap.get("gfsh");
if (!org.apache.commons.lang.StringUtils.isNotBlank(gfsh)){
pramsMap.put("sign","88");
}
gfshList = UserInfoUtil.getGfshAll(getUserInfo().getOrg()); gfshList = UserInfoUtil.getGfshAll(getUserInfo().getOrg());
if (gfshList.size() == 0) { if (gfshList.size() == 0) {
return ResponseEntity.ok(R.ok().put("data", "")); return ResponseEntity.ok(R.ok().put("data", ""));

@ -69,14 +69,10 @@
like like
CONCAT('%',#{keyWord},'%') CONCAT('%',#{keyWord},'%')
</if> </if>
<if test="sign !='88'">
and t.gf_tax_no in and t.gf_tax_no in
<foreach collection="gfsh" index="index" item="item" open="(" separator="," close=")"> <foreach collection="gfsh" index="index" item="item" open="(" separator="," close=")">
#{item} #{item}
</foreach> </foreach>
</if>
<if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '99' "> <if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '99' ">
and t.invoice_type = #{invoiceType} and t.invoice_type = #{invoiceType}
</if> </if>
@ -222,13 +218,10 @@
like like
CONCAT('%',#{keyWord},'%') CONCAT('%',#{keyWord},'%')
</if> </if>
<if test="sign !='88'">
and t.gf_tax_no in and t.gf_tax_no in
<foreach collection="gfsh" index="index" item="item" open="(" separator="," close=")"> <foreach collection="gfsh" index="index" item="item" open="(" separator="," close=")">
#{item} #{item}
</foreach> </foreach>
</if>
<if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '99' "> <if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '99' ">
and t.invoice_type = #{invoiceType} and t.invoice_type = #{invoiceType}
</if> </if>
@ -513,13 +506,10 @@
like like
CONCAT('%',#{keyWord},'%') CONCAT('%',#{keyWord},'%')
</if> </if>
<if test="sign !='88'">
and t.xf_tax_no in and t.xf_tax_no in
<foreach collection="taxno" index="index" item="item" open="(" separator="," close=")"> <foreach collection="taxno" index="index" item="item" open="(" separator="," close=")">
#{item} #{item}
</foreach> </foreach>
</if>
<if <if
test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '99' "> test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '99' ">
and t.invoice_type = #{invoiceType} and t.invoice_type = #{invoiceType}
@ -627,13 +617,10 @@
like like
CONCAT('%',#{keyWord},'%') CONCAT('%',#{keyWord},'%')
</if> </if>
<if test="sign !='88'">
and t.xf_tax_no in and t.xf_tax_no in
<foreach collection="taxno" index="index" item="item" open="(" separator="," close=")"> <foreach collection="taxno" index="index" item="item" open="(" separator="," close=")">
#{item} #{item}
</foreach> </foreach>
</if>
<if <if
test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '99' "> test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '99' ">
and t.invoice_type = #{invoiceType} and t.invoice_type = #{invoiceType}

Loading…
Cancel
Save