凭证已作废接口

This commit is contained in:
hecan 2024-12-31 09:27:51 +08:00
parent 3c3b23c17c
commit 724ce090ab
5 changed files with 57 additions and 1 deletions

View File

@ -95,5 +95,14 @@ public interface ISenderGlPzmlDao extends IBaseDao<SenderGlPzmlEntity, String> {
* **/
List<SenderGlPzmlEntity> queryGlPzmlSxy(SenderGlPzmlEntity senderGlPzmlEntity);
/**
*
* @content 查询商学院已作废凭证将已作废凭证推送行控
* @Param
* @Return
* @Author hecan
* @Date 2024-12-30 14:23
* **/
List<SenderGlPzmlEntity> queryGlPzmlSxyCancelled(SenderGlPzmlEntity senderGlPzmlEntity);
}

View File

@ -70,6 +70,12 @@ public class SenderGlPzmlDaoImpl extends MybatisGenericDao<SenderGlPzmlEntity, S
return (List<SenderGlPzmlEntity>) super.selectList("queryGlPzmlSxy",senderGlPzmlEntity);
}
@DS("#entity.dataSourceCode")
@Override
public List<SenderGlPzmlEntity> queryGlPzmlSxyCancelled(SenderGlPzmlEntity senderGlPzmlEntity) {
return (List<SenderGlPzmlEntity>) super.selectList("queryGlPzmlSxyCancelled",senderGlPzmlEntity);
}
@DS("#entity.dataSourceCode")
@Override
public SenderGlPzmlEntity queryPzmlByIdpzh(SenderGlPzmlEntity entity) {

View File

@ -295,7 +295,33 @@
<trim prefix="where" prefixOverrides="and">
<if test="idpzh !=null and idpzh!='' "> and pzml.idpzh = #{idpzh} </if>
and (pzml.srrq>=#{srrq} or pzml.shrq >=#{shrq} or pzml.jzrq>=#{jzrq}) and pznr.zbid!=0 and pzml.zt!='0'
and czrz.update_time > #{ts}
and czrz.update_time > #{ts} and pzml.zt in ('1','2','3')
</trim>
group by pznr.idpznr,
pznr.kjqj,
pzml.srrq,
pznr.zy,
pznr.bmdm,
pznr.gsdm,pznr.zth,pznr.kjqj,pznr.pzh
</select>
<!-- 查询列表 商学院所需要的凭证数据-->
<select id="queryGlPzmlSxyqueryGlPzmlSxyCancelled" resultMap="get-SenderGlPzmlEntity-result" parameterType = "com.hzya.frame.grpU8.nxproof.glPzml.entity.SenderGlPzmlEntity">
select
pznr.idpznr as idpzh,
pznr.kjqj as kjqj,
pzml.srrq as srrq,
pznr.bmdm,
pznr.zy as pzzy,
sum(pznr.je) as pzje,
pznr.gsdm,pznr.zth,pznr.kjqj,pznr.pzh
from GL_Pzml pzml
left join gl_pznr pznr on pznr.idpzh=pzml.idpzh and pzml.kjqj=pznr.kjqj
left join pzmlCzrzb czrz on czrz.idpzh=pzml.idpzh
<trim prefix="where" prefixOverrides="and">
<if test="idpzh !=null and idpzh!='' "> and pzml.idpzh = #{idpzh} </if>
and (pzml.srrq>=#{srrq} or pzml.shrq >=#{shrq} or pzml.jzrq>=#{jzrq}) and pznr.zbid!=0 and pzml.zt!='0'
and czrz.update_time > #{ts} and pzml.zt='0'
</trim>
group by pznr.idpznr,
pznr.kjqj,

View File

@ -107,4 +107,14 @@ public interface ISenderGlPzmlService extends IBaseService<SenderGlPzmlEntity, S
* @Date 2024/8/13 17:00
* **/
Object queryGlPzmlSxy(JSONObject jsonObject);
/**
*
* @content 查询商学院已作废凭证 将已作废凭证推送行控
* @Param
* @Return
* @Author hecan
* @Date 2024-12-30 14:22
* **/
Object queryGlPzmlSxyCancelled(JSONObject jsonObject);
}

View File

@ -759,6 +759,11 @@ public class SenderGlPzmlServiceImpl extends BaseService<SenderGlPzmlEntity, Str
}
}
@Override
public Object queryGlPzmlSxyCancelled(JSONObject jsonObject) {
return null;
}
//获取token
private String getToken(){