|
@@ -8,9 +8,10 @@ import com.sooka.system.medicine.plant.domain.TGuijiMedicinePlant;
|
|
|
import com.sooka.system.medicine.plant.mapper.TGuijiMedicinePlantMapper;
|
|
|
import com.sooka.system.medicine.plant.service.ITGuijiMedicinePlantService;
|
|
|
import com.sooka.system.service.impl.Guiji_Base_Service;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import javax.annotation.Resource;
|
|
|
+import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
@@ -22,7 +23,7 @@ import java.util.List;
|
|
|
@Service
|
|
|
public class TGuijiMedicinePlantServiceImpl extends Guiji_Base_Service implements ITGuijiMedicinePlantService
|
|
|
{
|
|
|
- @Autowired
|
|
|
+ @Resource
|
|
|
private TGuijiMedicinePlantMapper tGuijiMedicinePlantMapper;
|
|
|
|
|
|
/**
|
|
@@ -46,15 +47,25 @@ public class TGuijiMedicinePlantServiceImpl extends Guiji_Base_Service implement
|
|
|
@Override
|
|
|
public List<TGuijiMedicinePlant> selectTGuijiMedicinePlantList(TGuijiMedicinePlant tGuijiMedicinePlant)
|
|
|
{
|
|
|
- tGuijiMedicinePlant.setInterfaceinfoId("721f43b9-9b5a-44e6-9e93-a652bcfaf195");
|
|
|
- tGuijiMedicinePlant.setInterfaceinfoName("共享-市公积金-共同借款人信息");
|
|
|
- tGuijiMedicinePlant.setInterfacetype("platform_interfacetype_1");
|
|
|
- Long deptId = ShiroUtils.getSysUser().getDept().getDeptId();
|
|
|
- String deptName = ShiroUtils.getSysUser().getDept().getDeptName();
|
|
|
- tGuijiMedicinePlant.setDeptId(deptId);
|
|
|
- tGuijiMedicinePlant.setDeptName(deptName);
|
|
|
- //add_log(tGuijiMedicinePlant);
|
|
|
- return tGuijiMedicinePlantMapper.selectTGuijiMedicinePlantList(tGuijiMedicinePlant);
|
|
|
+ try{
|
|
|
+ tGuijiMedicinePlant.setOperationStatus(1L);
|
|
|
+ tGuijiMedicinePlant.setParam(tGuijiMedicinePlant.toString());
|
|
|
+ tGuijiMedicinePlant.setInterfacetype("platform_interfacetype_1");//1 共享 2归集
|
|
|
+ tGuijiMedicinePlant.setInterfaceinfoId("bc812f6e-8516-4177-aa3a-6332d6788d35");
|
|
|
+ tGuijiMedicinePlant.setInterfaceinfoName("共享(市)-市医药-种植采集数");
|
|
|
+ Long deptId = ShiroUtils.getSysUser().getDept().getDeptId();
|
|
|
+ String deptName = ShiroUtils.getSysUser().getDept().getDeptName();
|
|
|
+ tGuijiMedicinePlant.setDeptId(deptId);
|
|
|
+ tGuijiMedicinePlant.setDeptName(deptName);
|
|
|
+ return tGuijiMedicinePlantMapper.selectTGuijiMedicinePlantList(tGuijiMedicinePlant);
|
|
|
+ }catch (Exception e){
|
|
|
+ e.printStackTrace();
|
|
|
+ tGuijiMedicinePlant.setOperationStatus(0L);
|
|
|
+ tGuijiMedicinePlant.setExceptionLog(e.toString());
|
|
|
+ }finally {
|
|
|
+ add_log(tGuijiMedicinePlant);
|
|
|
+ }
|
|
|
+ return new ArrayList();
|
|
|
}
|
|
|
|
|
|
/**
|