|
|
@@ -11,6 +11,7 @@ import java.util.List;
|
|
|
import java.util.Map;
|
|
|
import java.util.Set;
|
|
|
|
|
|
+import com.uas.erp.service.scm.ProdInOutService;
|
|
|
import net.sf.json.JSONObject;
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
@@ -76,6 +77,8 @@ public class ScmHandler {
|
|
|
private ProductKindService productKindService;
|
|
|
@Autowired
|
|
|
private SendMailService sendMailService;
|
|
|
+ @Autowired
|
|
|
+ private ProdInOutService prodInOutService;
|
|
|
|
|
|
/**
|
|
|
* Purchase->purchase->delete 已经生成了收料单,不能删除!
|
|
|
@@ -7527,5 +7530,13 @@ public class ScmHandler {
|
|
|
public void make_delete_after_deleteMacode(String MaCode, String language, Employee employee) {
|
|
|
baseDao.updateByCondition("ProdIODetail", "PD_MACODE='',pd_turnmakestatus=0", "PD_MACODE='"+MaCode+"'");
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 出货单:过账之后自动发送数据至金关关务系统
|
|
|
+ *
|
|
|
+ * @author wub
|
|
|
+ */
|
|
|
+ public void prodinout_post_sendData(Integer id, String language, Employee employee) {
|
|
|
+ prodInOutService.inOutPutSyncToSqlServer("ProdInOut!Sale", id);
|
|
|
+ }
|
|
|
}
|