Commit a0b39de8 by 雷紫添

去掉XXZJBH

parent c7019e3f
......@@ -4,7 +4,7 @@ import java.util.Date;
public class Rycj {
private String xxzjbh ;
private String rycj_bt ;
private String rycj_dzwjbt ;
private String rycj_dzwjgs ;
......@@ -44,13 +44,7 @@ public class Rycj {
this.zxjgdm = zxjgdm;
}
public String getXxzjbh() {
return xxzjbh;
}
public void setXxzjbh(String xxzjbh) {
this.xxzjbh = xxzjbh;
}
public String getRycj_bt() {
return rycj_bt;
......
......@@ -22,8 +22,8 @@ import java.util.Date;
public class RycjServiceImpl implements RycjService {
@Autowired
private RycjDao rycjDao;
@Autowired
private AutoSeqService autoSeqService;
/*@Autowired
private AutoSeqService autoSeqService;*/
@Value(value = "${ftpfilePath}")
private String ftpfilePath;
......@@ -44,9 +44,10 @@ public class RycjServiceImpl implements RycjService {
Rycj rycj=new Rycj();
SimpleDateFormat sf = new SimpleDateFormat("yyyyMM");
String dateString = sf.format(new Date());
rycj.setXxzjbh( autoSeqService.xxzjbhFnVal("TB_ST_RYCJ",jccj.getUser_dept()));
// rycj.setXxzjbh( autoSeqService.xxzjbhFnVal("TB_ST_RYCJ",jccj.getUser_dept()));
rycj.setRycj_dzwjgs(".zip");
rycj.setRycj_dzwjwz(ftpfilePath+"/"+dateString+"/"+rycj.getXxzjbh()+rycj.getRycj_dzwjgs());
rycj.setRycj_dzwjwz(ftpfilePath+"/"+dateString+"/"+rycj.getTaskid()+rycj.getRycj_dzwjgs());
rycj.setRycj_bt(dateString);
rycj.setRycj_jlsj(new Date());
rycj.setUser_id(jccj.getUser_id());
rycj.setUser_dept(jccj.getUser_dept());
......
......@@ -5,7 +5,7 @@
<insert id="insertRycj" parameterType="com.founder.model.Rycj">
INSERT INTO TB_ST_RYCJ (
XXZJBH,
RYCJ_BT,
RYCJ_DZWJBT,
RYCJ_DZWJGS,
......@@ -22,12 +22,7 @@
ZXJGDM
)VALUES (
<if test="xxzjbh != null">
#{xxzjbh},
</if>
<if test="xxzjbh == null">
NULL ,
</if>
<if test="rycj_bt != null">
#{rycj_bt},
</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment