分组类型查询单据
This commit is contained in:
parent
87d554ba64
commit
f845f4ed26
|
@ -12,12 +12,11 @@
|
||||||
WHERE
|
WHERE
|
||||||
h.cgeneralhid in (
|
h.cgeneralhid in (
|
||||||
SELECT cgeneralhid FROM ic_general_b WHERE vfirstbillcode = #{code}
|
SELECT cgeneralhid FROM ic_general_b WHERE vfirstbillcode = #{code}
|
||||||
<if test="type != null and type != ''"> and csourcetype = #{type} </if>
|
<if test="type != null and type != ''"> and csourcetype = #{type} </if> and dr = '0'
|
||||||
)
|
)
|
||||||
<if test="cbilltypecode != null and cbilltypecode != ''"> and h.cbilltypecode = #{cbilltypecode} </if>
|
<if test="cbilltypecode != null and cbilltypecode != ''"> and h.cbilltypecode = #{cbilltypecode} </if>
|
||||||
group by h.vbillcode,a.unitcode
|
group by h.vbillcode,a.unitcode
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,6 @@ import com.hzya.frame.sysnew.application.entity.SysApplicationEntity;
|
||||||
import com.hzya.frame.sysnew.application.entity.SysExtensionApiEntity;
|
import com.hzya.frame.sysnew.application.entity.SysExtensionApiEntity;
|
||||||
import com.hzya.frame.u8c.Encapsulation.dao.IEncapsulationDao;
|
import com.hzya.frame.u8c.Encapsulation.dao.IEncapsulationDao;
|
||||||
import com.hzya.frame.u8c.Encapsulation.entity.EncapsulationEntity;
|
import com.hzya.frame.u8c.Encapsulation.entity.EncapsulationEntity;
|
||||||
import com.hzya.frame.u8c.Encapsulation.service.IEncapsulationService;
|
|
||||||
import org.apache.http.HttpEntity;
|
import org.apache.http.HttpEntity;
|
||||||
import org.apache.http.client.config.RequestConfig;
|
import org.apache.http.client.config.RequestConfig;
|
||||||
import org.apache.http.client.methods.CloseableHttpResponse;
|
import org.apache.http.client.methods.CloseableHttpResponse;
|
||||||
|
|
Loading…
Reference in New Issue