丽知:客商自动分配修改

This commit is contained in:
zhengyf 2024-10-29 11:27:57 +08:00
parent e29b0647f9
commit 7d0c15e11a
1 changed files with 2 additions and 1 deletions

View File

@ -164,7 +164,8 @@ public class CustdocAutoAllotPluginInitializer extends PluginBaseEntity {
try { try {
BdCubasdocEntity bdCubasdocEntity = new BdCubasdocEntity(); BdCubasdocEntity bdCubasdocEntity = new BdCubasdocEntity();
// bdInvbasdocEntity.setPkInvbasdoc(invcode); // bdInvbasdocEntity.setPkInvbasdoc(invcode);
bdCubasdocEntity.setCustcode(code); bdCubasdocEntity.setDr(0L);
bdCubasdocEntity.setDef1(code);
bdCubasdocEntity.setDataSourceCode(ProfilesActiveConstant.LETS_DATE_SOURCE); bdCubasdocEntity.setDataSourceCode(ProfilesActiveConstant.LETS_DATE_SOURCE);
List<BdCubasdocEntity> query = bdCubasdocDao.query(bdCubasdocEntity); List<BdCubasdocEntity> query = bdCubasdocDao.query(bdCubasdocEntity);
if (query.size() == 0) { if (query.size() == 0) {