|
@@ -10,6 +10,7 @@ import com.ydtech.modules.ins.model.yc.YcConfigureParameters;
|
|
|
import com.ydtech.modules.order.entity.InsAreaCompany;
|
|
import com.ydtech.modules.order.entity.InsAreaCompany;
|
|
|
import com.ydtech.modules.order.entity.InsOrders;
|
|
import com.ydtech.modules.order.entity.InsOrders;
|
|
|
import com.ydtech.utils.IDCardUtils;
|
|
import com.ydtech.utils.IDCardUtils;
|
|
|
|
|
+import com.ydtech.utils.StringUtils;
|
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
import javax.validation.Valid;
|
|
import javax.validation.Valid;
|
|
@@ -274,10 +275,19 @@ public class Audit {
|
|
|
|
|
|
|
|
//<taxATion>
|
|
//<taxATion>
|
|
|
TaxATion taxATion = new TaxATion();
|
|
TaxATion taxATion = new TaxATion();
|
|
|
- taxATion.setCTaxType("338001");
|
|
|
|
|
|
|
+ //0:法人 1个人
|
|
|
|
|
+ String property = applyInfo.getProperty();
|
|
|
|
|
+ if (StringUtils.isNotEmpty(property) && "0".equals(property)) {
|
|
|
|
|
+ taxATion.setCTaxType("338003");
|
|
|
|
|
+ taxATion.setTaxpayerComid(applyInfo.getOrganizationCode());
|
|
|
|
|
+ }else {
|
|
|
|
|
+ taxATion.setCTaxType("338001");
|
|
|
|
|
+ taxATion.setTaxpayerComid(applyInfo.getIdentifyNumber());
|
|
|
|
|
+ }
|
|
|
|
|
+// taxATion.setCTaxType("338001");
|
|
|
// taxATion.setClntMark("1");
|
|
// taxATion.setClntMark("1");
|
|
|
taxATion.setClntMark("3");
|
|
taxATion.setClntMark("3");
|
|
|
- taxATion.setTaxpayerComid(applyInfo.getIdentifyNumber());
|
|
|
|
|
|
|
+// taxATion.setTaxpayerComid(applyInfo.getIdentifyNumber());
|
|
|
taxATion.setTaxName(applyInfo.getName());
|
|
taxATion.setTaxName(applyInfo.getName());
|
|
|
taxATion.setClntAddress(applyInfo.getAddr());
|
|
taxATion.setClntAddress(applyInfo.getAddr());
|
|
|
taxATion.setMobile(applyInfo.getMobile());
|
|
taxATion.setMobile(applyInfo.getMobile());
|